Query loop Order by ID

Hi there,

we created website for end customer (https://www.pfister-moebelwerkstatt.de/) (sorry guys, is in german language).

We are using the "Portfolio" to present the products the company does produce. This is working great - but: customer wanted to have some "special" layout for portfolio "category slug"-Page that. e.g. he wanted to see the titles on top of the images and so on.

So we created a new site and played around query loops (awesome feature btw.) and got the layout working like it should (final result: https://www.pfister-moebelwerkstatt.de/wohnen/).

Our query loop config looks like that:

As you can see we're using the "Order by: ID" to sort those Portfolio Sites. Now the customer wants to change the order for some products. That shouldn't be a problem (we thought) because on initial setup we set those "order IDs" on each portfolio page:


But those order IDs seems to have no effect on the query loop that we created. Yes we cleared cache and so on.

For example, the last product, that was added: https://www.pfister-moebelwerkstatt.de/produkte/fernsehschrank-linoleum/ ......

.... Is still on last here: https://www.pfister-moebelwerkstatt.de/wohnen/ ...

... even we changed the order to "2" and the current product on position 2 we changed to 31 (last position).

Sorry for long text - I tried to explain with all details (i hope).

Thanks in advance.

Regards

Norman


Tech:

WordPress 6.4.1; beTheme 27.2.11; PHP 8.3

Comments

  • Hi,

    Order by ID refers to page ID:

    There is missing an option to order by Order.

    I have passed it to the dev team, and we will add it in future updates, as, indeed, there should be an option for that.

    Unfortunately, at the moment, there is no option to order by Order in query loops.


    Best regards

  • edited December 2023

    Hi Phil,

    thanks for your quick response. Oh, I didn't expect that the order by ID would be based on the page ID.

    Thanks for forwarding this to dev team, would be awesome if we're seeing this in future updates.

    Can you estimate an approximate time period when there might be a "fix" for this? Or is there any official roadmap to take a look into it? It's just that I can give the end customer some informations. :-)

    Have a great weekend! Best regards

    Norman

  • We do not have a roadmap or ETA when this will be out, but we will try to implement it as soon as possible.


    Best regards

  • Great, thanks Phil!

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.