Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #688120

    Hi,

    I tried this solution: https://kriesi.at/support/topic/avia-post-nav-with-the-same-category/
    But it doesn’t work :( http://simone-engelen.com/portfolio-item/ed-it/ there should be only 1 other portfolio item in the same category and it’s showing others.

    Am i missing something?

    #688138

    Hey Rhodo,

    Please elaborate the issue. We need to take a closer look Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Vinay

    #688155

    by the way i got this code for me to work well:

    add_filter( 'avia_post_nav_settings', 'enfold_customization_same_cat' );
    function enfold_customization_same_cat( $s ) {
        $s['same_category'] = true;
      return $s;
    }
    #688156

    Hi,

    Thanks for the code. I tried it but it still doens’t work :(

    #688157

    Thank you Vinay,

    I pasted the code in the functions.php and im expecting the navigation on a single portfolio item page to only show items from the same category. Which it doesn’t right now.

    Below i will paste the credentials.

    Thanks in advance!

    #690412

    Hi,

    Sorry for the late reply. We updated the filter code in the functions.php file to the below code.

    
    //Post nav with same catogery
    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 check the site if you have any question feel free to get back to us.

    Best regards,
    Vinay

    #690424

    hm – isn’t it the same code as mine?

    only the filter name differs
    avia_same_category_filter instead of enfold_customization_same_cat
    and
    $settings instead of $s

    • This reply was modified 8 years, 1 month ago by Guenni007.
    #691097

    Hi,

    Yes almost the same but not sure why that did not make any changes on the site tho.

    Best regards,
    Vinay

    #691112

    thats why i’m astonished – on my sites it works well ! (WP4.61 Enfold 3.8)

    #695480

    Hi,

    Well it’s still not working on my site: http://simone-engelen.com/portfolio-item/ed-it/ Here you shoudl only find BOOKS. And there’s only two. In the navigation still other entries show up.

    Is there any way this is fixable?

    Thanks in advance!

    #697406

    Hi,

    Please update the theme to the latest version. That should fix any issues you are currently experiencing :)

    To update to the latest version follow the simple instructions here. (Or if you want the super detailed explanation you can read this blog post)

    If that does not help, feel free to reply here and we will take a closer look at the issue. In that case please also add your WordPress login credentials (in the “private data” field) so we can take a look at your admin area

    Best regards,
    Andy

    #698667

    Hi Andy,

    Even after the update it’s still not working :(

    I posted the login earlier. Could you please have a look? thx!

    #699766

    Hi,

    The filter is not working because of the following plugins.

    // Post Types Order
    // Simple Custom Post Order

    Please disable the plugins if you want the navigation to filter items from the same category.

    Best regards,
    Ismael

    #699889

    Hi Ismael,

    That did the job! Thanks so much!

    #700504

    Hi,

    Great, glad you got it working :-)

    Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

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