Hi,
I have a category called events and want the events displayed with the oldest posts first (events coming up soonest).
I read through every post on the forum I could find regarding this and tried several methods, but, no change. I tried this snippet in my child theme functions file:
http://kriesi.at/documentation/enfold/how-to-add-an-orderorderby-option-to-the-blogpost-sliderportfoliomasonry-grid-element/
But, I don’t know what to do next. It says:
Then go to the blog/post slider/portfolio/masonry grid element settings screen, scroll to the bottom of the option window and configure the order/orderby settings. Then save the template and page and the posts should be displayed based on the new sort order.
I don’t see a “blog/post slider/portfolio/masonry grid element settings screen” anywhere. Where is this? I looked through everything in the Theme Options and it is not there.
Thank you!
I figured it out. I had to create a page, then add Posts to it with the Avia Page builder, then found the options there. :-)
It works! Now I just need to get the Latest News widget in the sidebar to sort in Ascending order.
Hey!
Glad you found a solution for your first problem.
Out of the box it is currently not possible to change the sort order for the latest news widget.
You must modify the core file enfold\framework\php\class-framework-widgets.php line 450 – 484 and alter the query parameters for WP_Query.
Regards,
Günter
I try to avoid adding plugins, but it seemed easier for this, so I used the Flexible Posts Widget plugin and solved that problem.:-)
Thank you!