Using shortcode outside wordpress
-
Hi to everybody i want to use a shortcode in a external php page. I load the blog header and i print the content of the post in this way
$page_object = get_page( $temp['id'] ); echo apply_filters('the_content', $page_object->post_content);
the shortcode are loaded well but the related javascript will not loaded!
How can i load them?
Stai visualizzando 4 risposte - dal 1 al 4 (di 4 totali)
Stai visualizzando 4 risposte - dal 1 al 4 (di 4 totali)
- Il topic ‘Using shortcode outside wordpress’ è chiuso a nuove risposte.