Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #355017

    Hi Yigit,

    I have updated my enfold to the latest version and replaced the code you gave me to the functions.php:

    add_filter(‘avia_post_nav_settings’,’avia_same_category_filter’, 10, 1);
    function avia_same_category_filter($settings)
    {
    $settings[‘same_category’] = true;
    return $settings;
    }

    But this doesn’t seem to work anymore when I check the live site: http://www.growmybiz-canterbury.com/mentormatcher

    Have a look, you’ll see that when you look through the mentor posts you’ll come to posts outside that category.

    Please can you have a look for me? Thanks.

    #355347

    Hey Krissie!

    Do you mind creating a temporary admin login and posting it here privately so we can look into it?

    Best regards,
    Yigit

    #356646
    This reply has been marked as private.
    #358075

    Hello,

    Have you tried disabling all third-party plugins to see if it gets fixed?

    Regards,
    Josue

    #358554

    Hi Josue,

    Why do I need to? It worked fine before I upgraded the theme to your latest version.

    Thanks, :)

    #358697

    Hi!

    Both WordPress and Theme were updated, one of the plugins may not be compatible. Please try de-activating all active plugins and check if that helps as Josue suggested.

    Best regards,
    Yigit

    #384310

    Hi guys,

    I’ve just updated the Enfold theme and this code doesn’t work still.

    add_filter(‘avia_post_nav_settings’,’avia_same_category_filter’, 10, 1);
    function avia_same_category_filter($settings)
    {
    $settings[‘same_category’] = true;
    return $settings;
    }

    Please can you have a look?

    Thanks,

    #385768

    Hey!

    Can you please review your website now?

    Cheers!
    Yigit

    #385770

    Great! It works! What did you do? Thanks Yigit! :)

    #385777

    Hi!

    There was an issue with single quotes on the code, i fixed them. You are welcome, glad we could help. Let us know if you have any other questions or issues!

    Regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Updated Enfold and now code doesn't work’ is closed to new replies.