Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] Issues with the WP <!–more–> Page Brake

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26505
    marcott
    Member

    Hello all,

    I am having some issues with my theme. On the front page I have the two latest article displayed.When I add the <!–more–> page brake it does not work on the front page or any other page in the blog. Is there something special that I have to do to make it work?

    Here is the loop from the front page:

    Code:

    query(‘showposts=2’);
    while($recent->have_posts()) : $recent->the_post();

    $wp_query->in_the_loop = true;
    $recent_ID = $post->ID;
    ?>

    ID, ‘article-image’, true)) { ?>

    Please let me know if you need additional information. Any help would be greatly appreciated.

    #65725
    marcott
    Member

    Problem solved. Ended up having to override the Single Page behaviour with global $more.

    Info can be found here:
    http://codex.wordpress.org/Template_Tags/the_content

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.