Tagged: 

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

    Hi – I’ve tried the code insertions on other posts, but they are not working for me. Trying on a new thread per Yigit.

    To restate: I’d like the forward/back arrow/buttons on the side of the browser to offer only content within the SAME category, not “the next post in line” irrespective of category.

    Thank you.

    #818785

    Hey charger70,

    Please refer to this thread for a possible solution.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #818793

    Well, yeah, thanks, I’m really not looking to have to modify the functions.php file on this account to achieve this solution. Why doesn’t Enfold offer this as an option? And judging by the various CSS fix attempts in this forum, it’s clear many others have this same need.

    I’m hoping Yigit can reply with something that works – he’s always amazing in that regard.

    #818822

    Hi,

    I added following code to functions.php file of your child theme

    add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod');
    function avia_post_nav_settings_mod($settings)
    {
      $settings['same_category'] = true;
      return $settings;
    }

    Please review your website

    Best regards,
    Yigit

    P.S.: Thanks for your kind words :)

    #818885

    Hi Yigit!

    Great to hear from you – you always help me so much, I am very appreciative.
    It seems to be working well at this point – thank you, sir! you, as always, are my hero!

    jim

    #818888

    Hi Jim!

    Glad to hear it is working! We are happy to help, as always :)
    Let us know if you have any other questions or issues and enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Next/Previous Post Arrow – Same Category Content Only’ is closed to new replies.