Query loops on separate pages for blog posts

  • Unknown's avatar

    Is it possible to have query loops for blog posts on separate pages? We have blog posts run by two different groups and we’d like to have their posts on separate pages. However, blog post titles don’t show up in the query loop unless a page is designated the blog home (and in this case, we’d need two blog homes, and that doesn’t seem possible). Tags and categories aren’t resolving anything.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    You can definitely achieve separate post feeds on different pages using the Query Loop block, and you do not need to designate either page as the “static posts page” in your settings to make the titles appear. The reason your titles might be missing is likely due to the inner layout of the block; when you insert a Query Loop, you must ensure that a Post Title block is nested inside the Post Template section of that loop. To separate the content for your two groups, you should assign a specific Category or Tag to each group’s posts (e.g., “Group A” and “Group B”), then select the Query Loop block on each page and use the “Filters” section in the block settings sidebar to include only that specific category. This allows you to have as many “blog pages” as you like across longhaulmag.com, as each loop acts as an independent window into your post library based on the criteria you set in the sidebar.

Log in or create an account to reply