add_filter( 'wpex_localize_array', function( array $array ) { $array['localScrollExtraOffset'] = '40'; return $array; } );
Overlay header exceptions
If you want global overlay header but on hoepage you want to have not template beneath?
add_filter( 'wpex_overlay_header_template', function( $template_id ) { if ( is_front_page() ) { $template_id = ''; // you can set it to none and just add the content you want on the homepage. } return $template_id; } );
Dieser Beitrag hat 0 Kommentare