Output Loop Provider in reverse

Hi there!

We have a unique case in which we want the most recent 4 posts of a custom post type, but we want to display those 4 posts from oldest to newest.

So we have limit=4, orderby=DESC/Date. That gets us the right data set, but we’d like to loop through them backwards if that makes sense?

Thanks so much!

Hi @powrider686,

Thanks for reaching out.
What you are trying to acheive is required some customization and that is beyond the scope Theme Support. I would suggest you hire a developer who can assist you to do the customization or you can avail of our newly launched service called One, where we answer the questions beyond normal theme support.
Alternatively, you can try to reverse the order of columns or rows using custom CSS. I would suggest you go through the following article on this.


Please remember that we don’t offer any support on custom CSS code or related issues.

Thanks

@powrider686

You are looking for ASC instead of DESC.

orderby=date&order=asc

@tristup Thank you, just wanted to make sure we weren’t overlooking something!

Hi @powrider686,

That is the only way to achieve what you are trying to.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.