Outside the loop!
-
I’ve created a player page independent of the loop but in the theme’s directory. I’m including wordpress by adding this:
<?php define('WP_USE_THEMES', false); require('./wp-blog-header.php'); ?>
and then calling showtime with this code:
<?php echo do_shortcode('[showtime-now-playing]'); ?>
and then on page load it’s showing that the plugin is being loaded in the source
<style></style><div class="showtime-now-playing"></div>
but the content isn’t loading as it does on a normal wordpress page. Are there other things I should be including to make the plugin work?
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Outside the loop!’ is closed to new replies.