Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1254970

    hello
    by using the right and left side navigation between post
    is there a way to propose it inside a dedicate category not to have scroll beteween two different category but inside the same of the post at screen

    and do this function working in responsive ?

    regards

    and thank you

    #1255961

    Hey caledoman,

    Thank you for the inquiry.

    Are you referring to the post navigation that are located on both sides or edges of the post? If so, then we could use the following filter in the functions.php file to limit it so that it only run through posts that have same category.

    function avf_post_nav_settings_mod($settings) {
      $settings['same_category'] = true;
      return $settings;
    }
    add_filter('avf_post_nav_settings','avf_post_nav_settings_mod', 999, 1);
    

    Best regards,
    Ismael

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