Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #382767

    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?

    http://www.ofas.org.uk/news and http://www.ofas.org.uk/fira

    #383254

    Hey alanboyle5355!

    Try this out, https://kriesi.at/support/topic/avia-post-nav-with-the-same-category/#post-185420.

    Best regards,
    Elliott

    #383428

    I think it’s working but it’s highlighted another problem. If you go to the second blog and click one of the posts, the title of the page changes to News, which I suspect is what is confusing the arrows.

    How do I keep them as completely separate post feeds?

    #383660

    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

    #384099

    Tried that but no change.

    Would it be better to have no blog defined in the settings at all?

    #384650

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.