<?php /** * @author rs-theme * @since 1.0 * @version 1.0 */ ?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="//gmpg.org/xfn/11"> <?php global $reobiz_option; ?> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <?php if( ! function_exists( 'wp_body_open' ) ) { function wp_body_open() { do_action( 'wp_body_open' ); } } $rs_offcanvas = get_post_meta(get_queried_object_id(), 'show-off-canvas', true); $menu_text_plus_icon = (!empty($reobiz_option['menu_text_plus_icon'])) ? 'sub-menu-plus-show' : ''; $page_title_align = (!empty($reobiz_option['breadcrumb-align'])) ? $reobiz_option['breadcrumb-align'] : ''; if(!empty($reobiz_option['off_canvas']) || ($rs_offcanvas == 'show') ): ?> <div class="offwrap"> <div class="offwrapcon"></div> </div> <?php endif; ?> <?php if(!empty( $reobiz_option['show-comingsoon']) && !is_user_logged_in()){ get_template_part( 'coming-soon' ); die(); } ?> <!--Preloader start here--> <?php get_template_part( 'inc/header/preloader' ); ?> <!--Preloader area end here--> <div id="page" class="site <?php echo esc_attr($menu_text_plus_icon);?> <?php echo esc_attr($page_title_align);?>"> <?php get_template_part('inc/header/header'); ?> <!-- End Header Menu End --> <?php $page_bg = get_post_meta(get_the_ID(), 'page_bg', true); if($page_bg !='' && is_page()): ?> <div class="main-contain offcontents" style="background-image: url('<?php echo esc_url( $page_bg );?>'); "> <?php else: ?> <div class="main-contain offcontents"> <?php endif; ?>
<?php /** * @author rs-theme * @since 1.0 * @version 1.0 */ ?> </div><!-- .main-container --> <?php global $reobiz_option; $hide_footer =''; $hide_footer = get_post_meta(get_queried_object_id(), 'hide_footer', true); if($hide_footer != 'yes'): // Footer Options here require get_parent_theme_file_path('inc/footer/footer-options.php'); if(!empty( $footer_bg_img)):?> <footer id="rs-footer" class="<?php echo esc_attr($footer_select);?> rs-footer footer-style-1" style="background-image: url('<?php echo esc_url($footer_bg_img); ?>'); background-position: <?php echo esc_attr($footer_bg_pos); ?>; <?php if (!empty($footer_bg)): ?> background-color: <?php echo esc_attr($footer_bg) ?> <?php endif; ?>"> <?php elseif(!empty( $footer_bg)):?> <footer id="rs-footer" class="<?php echo esc_attr($footer_select);?> rs-footer footer-style-1" style="background: <?php echo esc_attr($footer_bg);?>; background-position: <?php echo esc_attr($footer_bg_pos); ?>"> <?php elseif( !empty( $reobiz_option['footer_bg_image']['url'])):?> <footer id="rs-footer" class="<?php echo esc_attr($footer_select);?> rs-footer footer-style-1" style="background-image: url('<?php echo esc_url($reobiz_option['footer_bg_image']['url']);?>'); background-position: <?php echo esc_attr($footer_bg_pos); ?>"> <?php else:?> <footer id="rs-footer" class="<?php echo esc_attr($footer_select);?> rs-footer footer-style-1" > <?php endif; if($hide_footer_subscribe != 'yes'): get_template_part( 'inc/footer/footer','subscribe' ); endif; get_template_part( 'inc/footer/footer','top' ); ?> <div class="footer-bottom" <?php if(!empty( $copyright_bg)): ?> style="background: <?php echo esc_attr($copyright_bg); ?> !important;" <?php elseif(!empty( $copy_trans)): ?> style="background: <?php echo esc_attr($copy_trans); ?> !important;" <?php endif; ?>> <div class="<?php echo esc_attr($header_width);?>"> <div class="row"> <?php if(is_active_sidebar( 'copy_right' )): ?> <div class="col-md-6 col-sm-12"> <div class="copyright text-left" <?php if(!empty( $copy_space)): ?> style="padding: <?php echo esc_attr($copy_space); ?>" <?php endif; ?> > <?php if(!empty($reobiz_option['copyright'])){?> <p><?php echo wp_kses($reobiz_option['copyright'], 'reobiz'); ?></p> <?php } else{ ?> <p><?php echo esc_html('&copy;')?> <?php echo date("Y");?>. <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> </p> <?php } ?> </div> </div> <div class="col-md-6 col-sm-12"> <div class="copyright-widget text-right" <?php if(!empty( $copy_space)): ?> style="padding: <?php echo esc_attr($copy_space); ?>" <?php endif; ?> > <?php dynamic_sidebar( 'copy_right'); ?> </div> </div> <?php else:?> <div class="col-md-12 col-sm-12"> <div class="copyright text-center" <?php if(!empty( $copy_space)): ?> style="padding: <?php echo esc_attr($copy_space); ?>" <?php endif; ?> > <?php if(!empty($reobiz_option['copyright'])){?> <p><?php echo wp_kses($reobiz_option['copyright'], 'reobiz'); ?></p> <?php } else{ ?> <p><?php echo esc_html('&copy;')?> <?php echo date("Y");?>. <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> </p> <?php } ?> </div> </div> <?php endif ?> </div> </div> </div> </footer> <?php endif; ?> </div><!-- #page --> <?php if(!empty($reobiz_option['show_top_bottom'])){ $show_top_bottom_postition = !empty($reobiz_option['show_top_bottom_postition']) ? $reobiz_option['show_top_bottom_postition'] : 'right' ?> <!-- start scrollUp --> <div id="scrollUp" class="<?php echo esc_attr($show_top_bottom_postition);?>"> <i class="fa fa-angle-up"></i> </div> <?php } wp_footer(); ?> </body> </html>