Tagged: 

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

    Hello,
    With this code i had found the way to have the same category but now it didn’t work…

    add_filter(‘avia_post_nav_categories’, ‘use_same_category_filter’);
    function use_same_category_filter($same_category)
    {
    $same_category = true;
    return $same_category;
    }

    Do you have any other code, please : ))
    Thanks

    http://dromomanos.com/

    #184637

    Hi RomainGR!

    Can you please post the link to the page with the avia post navigation? Please try this:

    add_filter('avia_post_nav_categories', 'use_same_category_filter');
    function use_same_category_filter($same_category)
    {
    $same_category = true;
    return $same_category;
    }

    Cheers!
    Ismael

    #185308

    Hi,

    here the link: http://dromomanos.com/mexico/armas-del-narco-convertidas-en-instrumentos-musicales/
    with for exemple the category “Mexico”

    Doesn’t work with this code

    Cheers!

    #185420

    Hey!

    The code works for me. Please copy this code directly on your functions.php:

    add_filter('avia_post_nav_categories', 'use_same_category_filter');
    function use_same_category_filter($same_category)
    {
    $same_category = true;
    return $same_category;
    }

    Regards,
    Ismael

    #185804

    Thanks, it’s working !

    Great support !

    #185940

    Hi!

    Glad it’s working. :)

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Avia Post NAV with the same category ?’ is closed to new replies.