-
AuthorPosts
-
June 6, 2024 at 8:18 pm #1448563
Hi,
do you think it`s possible to set this list the other way around so that on the page “history” the newest dates are on top of the list? The order in the backend is the oldest in the beginning.
I could make the sorting already with your help on another list. There its perfect to have the newest date on top, by the history page would be great to have it the other way around. But i am not so sure if that is possible.
Maik helped me with that the last time.
You have any ideo for that? That would be perfect!Many regards rixi
June 7, 2024 at 5:09 am #1448586Hey rixi,
Thank you for the inquiry.
You can try this filter in the functions.php file:
add_filter('avf_magazine_entries_query', 'avf_magazine_entries_custom_query'); function avf_magazine_entries_custom_query ( $query ) { $query['orderby'] = 'date'; $query['order'] = 'DESC'; return $query; }If the result is not what you’ve expected, try to replace “DESC” with “ASC”.
Best regards,
IsmaelJune 7, 2024 at 8:27 am #1448599This reply has been marked as private.June 10, 2024 at 5:08 am #1448762Hi,
It’s not possible to sort posts by their categories using the default settings. You may need to create a custom solution, such as adding custom meta info for posts in specific categories. Unfortunately, this requires significant modifications and is beyond the scope of our support. You can find freelancers who specialize in theme customization by visiting our customization page.
If you have any other questions or require further assistance, please feel free to let us know.
Best regards,
IsmaelJune 10, 2024 at 7:14 am #1448765Hi Ismael,
ok, thanks a lot for having a look at that :)Many regards
rixiJune 10, 2024 at 7:55 pm #1448803Hi,
Thanks for the update, we’ll go ahead and close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Post list other way around’ is closed to new replies.
