Viewing 1 replies (of 1 total)
  • Thread Starter hastic

    (@hastic)

    I did it…

    1. Make a child theme
    2. In functions.php add this code:

    function franz_hook_slider2(){
        global $franz_settings;
        if ( ! $franz_settings['slider_disable'] && ! franz_has_custom_layout() ) add_action( 'franz_before_content', 'franz_slider' );
    }
    remove_action( 'template_redirect', 'franz_hook_slider' );
    add_action( 'template_redirect', 'franz_hook_slider2' );
Viewing 1 replies (of 1 total)
  • The topic ‘Slider on all page’ is closed to new replies.