I have a specialized “blog” on my website made up of podcasts. https://lovefirst.net/best-minds-podcast/ I would like these displayed first to last (oldest to newest), instead of the normal method of newest first. How can I do this?
Thanks for your help
Hi macjeffff,
Please add this code in functions.php of your child theme, if you don’t have a child theme then you can use the plugin called WPCode to insert this code snippet:
add_filter('avia_blog_post_query', 'custom_enfold_blog_post_query');
function custom_enfold_blog_post_query( $query ) {
if ( is_page( 6791 ) ) {
$query['orderby'] = 'date';
$query['order'] = 'ASC';
}
return $query;
}
Best regards,
Nikko