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
Hey 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,
Ismael
Hi,
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,
Ismael
Hi Ismael,
ok, thanks a lot for having a look at that :)
Many regards
rixi
Hi,
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