Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function custom_full_width_header_on_boxed_page(){
- if(is_front_page()){
- $site_style = sq_option('site_style', 'wide') == 'boxed' ? ' page-boxed' : '';
- $site_style = apply_filters('kleo_site_style', $site_style);
- echo '</div>';
- echo '<div class="custom-full-width-header-on-boxed-page">';
- echo do_shortcode('[rev_slider HomeFullwidth]');
- echo '</div>';
- echo '<div class="kleo-page' . $site_style . '">';
- }
- }
- add_action('kleo_header', 'custom_full_width_header_on_boxed_page', 9999);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement