• jasonbarnettephotography

    (@jasonbarnettephotography)


    I am using the Modularity theme for my blog. In the blog, I want to use the Featured Post option, which currently displays the most recent blog on the left 2/3 and the previous four entries on the right 1/3 of the screen.

    However, I only want the most recent blog entry to display what appears before the <!–more–> quicktag.

    I have found the proper location inside my featured.php file and added the following code:

    <?php
    global $more;
    $more = 0;
    the_content(“More…”);
    ?>

    However, the theme still displays the entire blog entry instead of just what appears before the <!–more-> quick tag.

    I am at a loss here. Any thoughts/suggestions/tell me I’m missing something simple?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘the_content Code Not Working’ is closed to new replies.