plugin shortcodes not working on custom theme- unsure how to fix

Your problem is the loop itself. As others suspected, you don’t have the_content() to display the page content.

Change your loop to this and that should fix your problem:

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?> 

Leave a Comment