I want to integrate posts from wordpress into our Cre Loaded e-commerce website. I have been somewhat successful in achieving this except in one post where I use the meteor slideshow plugin. The images from the slideshow appear on the page but the meteor slideshow itself isn't working. Here is the code I use to display the post:
/* Short and sweet */
$post_id = 40;
$queried_post = get_post($post_id);
$content = $queried_post->post_content;
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
I have been referencing the document on Integrating WordPress with Your Website. http://codex.wordpress.org/Integrating_WordPress_with_Your_Website It indicates that I should include The Loop in posts in order to take advantage of template tags and/or plugins. However, if I include The Loop all of the content disappears.
Does anyone know how to keep a plugin functioning if you are integrating it into a website outside of wordpress?