Tagged: 

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

    We can’t get the “next-preview” function from page to page. The “next-preview” function does not work with the “Extended Layer Slider” (in german “Erweiterten Layer Slider”), which we need. With a “simple slider”, which only offers text but no layer, “next-preview” works from page to page.

    • This topic was modified 3 years, 8 months ago by HumanJ.
    #1259097

    Hey HumanJ,

    Could you post a link to where we can see the problem you are having please?

    Best regards,
    Rikard

    #1259210
    This reply has been marked as private.
    #1259898

    Hi,

    Thank you for the clarification.

    Are you referring to the post navigation located on both sides of the page? By default, this navigation will not display if there is a full width element in the page such as the layer slider. You have to add this snippet in the functions.php file to change that behavior.

    function avf_post_nav_settings_mod($settings) {
      $settings['is_fullwidth'] = false;
      $settings['skip_output'] = false;
      return $settings;
    }
    add_filter('avf_post_nav_settings','avf_post_nav_settings_mod', 999, 1);
    

    Best regards,
    Ismael

    #1260798
    This reply has been marked as private.
    #1261474

    Hi,

    Glad to know that it is working. To limit the post navigation to certain pages, we could use the is_page or any conditional function necessary. Please check the documentation for more info about the function.

    // https://developer.wordpress.org/reference/functions/is_page/

    Best regards,
    Ismael

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