Site logo

Archived topic

Query loop Include posts

10 replies · Started by Hywel on October 27, 2022

Viewing posts 1–11 of 11

Hi, is there any way to manually select the pages? None of the parameter options seem to give me the order I want.

Thanks

Hi Hywel,

You can choose specific posts to appear in your Query through "Include Posts" parameter, but, are you wanting to order them a specific way?

Hi, yes thats correct. None of the options seem to work the way I want. Is there any way to manually order them?

Hi, any update on this? Thanks

Hi there,

you can add an Parameter -> Orderby. There you have different options eg. Title, ID, or Menu Order.
If you're using Pages, then you can set the Menu Order, will match the Order value you set in each page.

Hi, I'm using pages. I'm not sure what you mean by "Order value you set in each page." Can you advise? Thanks

If Quick Edit a Page, there is an Order field, which is also in the editor under Page Attributes.
That field allows you to set the order your pages are to be displayed in a menu.
By setting the order you require, you can the use the OrderBy -> Menu Order parameter in the GB Query Loop.

Thanks, but let's say you give 6 pages an order number. It displays those 6 pages first but it still doesn't do them in the correct order. The Page with order number 6 appears first. So doesn't really resolve the problem.

You need to also add an Order Parameter and set it to ASC ( Ascending ) or DSC ( Descending ) order.

Thanks!

You're welcome

This archived topic is closed to new replies.