I have two blogs on my site and so two different category names. The arrows on each of the blogs to navigate to the previous or next post show posts from both categories though. Is it possible for the arrows to only show posts from the category for that page?
Hey alanboyle5355!
Try this out, https://kriesi.at/support/topic/avia-post-nav-with-the-same-category/#post-185420.
Best regards,
Elliott
Hey!
Thank you for using Enfold.
It has nothing to do with the category. Since you define “News” as the blog page, the title of all single post view will be set to “News”. You can add this on functions.php to modify the title of the Fira blog single post view:
add_filter( 'avf_title_args', 'avf_product_titlee', 0, 2 );
function avf_product_titlee( $args, $id ) {
if ( in_category('Fira Blog')) { $args['title'] = "Fira"; }
return $args;
}
Regards,
Ismael
Tried that but no change.
Would it be better to have no blog defined in the settings at all?
Hey!
If you have a blog page set then it will display in the titles and breadcrumbs of all of your posts. If you do not want that then yes you can just remove the blog page you have set in Dashboard > Enfold > Theme Options.
Regards,
Elliott