Issue with wp_query and having multiple loops (1 post)

  1. meganlee1984
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic