WordPress.org

Forums

[resolved] Pages of posts cause confusion? (3 posts)

  1. hafman
    Member
    Posted 4 years ago #

    Hi,
    I have a page that contains one loop (the page) and another that lists custom posts, a page of posts. This seems to be confusing WP-dTree (which is hard coded to list pages) and i lose the menu.

    The plugin writes "<!--try{}catch(e){} //-->" into the space that it normally fills with links.

    any ideas on this?

    Thanks!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Did you remember to use <?php wp_reset_query();?> between the two Loops? Also see Multiple_Loops

  3. hafman
    Member
    Posted 4 years ago #

    thanks esmi that did it. placed the reset code between the last loop and the sidebar.
    ;-p

Topic Closed

This topic has been closed to new replies.

About this Topic