Tagged: Layer Slider
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.
Hey HumanJ,
Could you post a link to where we can see the problem you are having please?
Best regards,
Rikard
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
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