Support » Themes and Templates » Issue with wp_query and having multiple loops

Issue with wp_query and having multiple loops

  • I’m creating a custom theme, where I have created templates in two different post categories, and they will each display in their own loop on two different pages. (2 different categories – 2 different pages)

    I created the first post and page template no problem, but when I tried to created the second page template using a second wp_query, I have all sorts of errors. I’m assuming that I have an issue in the first wp_query, and its not allowing the next loop.

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    This is the demo link
    Any help would be greatly appreciated.

  • The topic ‘Issue with wp_query and having multiple loops’ is closed to new replies.