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

  1. hafman
    Posted 5 years ago #

    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?


  2. esmi
    Forum Moderator
    Posted 5 years ago #

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

  3. hafman
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic