• Hey guys

    I’m finding that the theme I have built is not displaying the shortcodes for any plugins. I checked if they work in the default Twenty Eleven theme, and there’s no problem there. I’ve been looking through the forums and found some posts that give me an indication of the problem, but I’m not quite sure how to implement it.

    I did find this string (at WordPress Shortcode Not Working) apply_filters(‘the_content’,$single_page[‘post_content’]), but I’m not seeing any output yet. I’m wondering if anyone can give me some suggestions as to what I’m doing wrong. (It’s been a while since I developed a theme)

    The site is colswoodencreations.com.au. The code snippet is:

    <?php elseif( is_page(array(25, 33)) ) : ?>
        <div class="post">
            <?php echo apply_filters('the_content',$single_page['post_content']); ?>
        </div>
    <?php else : ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Theme not showing short codes’ is closed to new replies.