Server IP : 66.29.132.124 / Your IP : 18.225.55.42 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/diixadigital.com/wp-content/themes/meto/ |
Upload File : |
<?php /** * Tag Main File. * * @package METO * @author ThemeKalia * @version 1.0 */ get_header(); global $wp_query; $data = \METO\Includes\Classes\Common::instance()->data('search')->get(); $layout = $data->get('layout'); $sidebar = $data->get('sidebar'); $layout = ($layout) ? $layout : 'right'; $sidebar = ($sidebar) ? $sidebar : 'default-sidebar'; if (is_active_sidebar($sidebar)) { $layout = 'right'; } else { $layout = 'full'; } $class = (!$layout || $layout == 'full') ? 'col-xs-12 col-sm-12 col-md-12' : 'col-lg-8 col-md-12 col-sm-12'; if (class_exists('\Elementor\Plugin') and $data->get('tpl-type') == 'e' and $data->get('tpl-elementor')) { echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display($data->get('tpl-elementor')); } else { ?> <?php if (class_exists('\Elementor\Plugin')):?> <?php do_action('meto_banner', $data); ?> <?php else:?> <!--Page Title--> <section class="page-title"> <div class="pattern-layer-one" style="background-image: url(<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/background/pattern-14.png)"></div> <div class="pattern-layer" style="background-image: url(<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/background/shape-62.png)"></div> <div class="auto-container"> <h2><?php if( $data->get( 'title' ) ) echo wp_kses( $data->get( 'title' ), true ); else( wp_title( '' ) ); ?></h2> <ul class="page-breadcrumb"> <?php echo meto_the_breadcrumb(); ?> </ul> </div> </section> <!--End Page Title--> <?php endif; ?> <!--Sidebar Page Container--> <div class="sidebar-page-container"> <div class="auto-container"> <div class="row clearfix"> <?php if ($data->get('layout') == 'left') { do_action('meto_sidebar', $data); } ?> <div class="content-side <?php echo esc_attr($class); ?>"> <div class="blog-classic"> <div class="thm-unit-test"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); meto_template_load('templates/blog/blog.php', compact('data')); endwhile; wp_reset_postdata(); ?> </div> <!--Pagination--> <div class="styled-pagination text-center clearfix"> <?php meto_the_pagination($wp_query->max_num_pages); ?> </div> <?php else : ?> <div class="search-notfound"> <h4> <?php printf(esc_html__('No result found for "%s"', 'meto'), get_search_query()); ?> </h4> <p><?php esc_html_e('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'meto'); ?></p> <div class="sidebar-side"> <div class="sidebar"> <?php get_search_form() ?> </div> </div> </div> <?php endif; ?> </div> </div> <?php if ($data->get('layout') == 'right') { do_action('meto_sidebar', $data); } ?> </div> </div> </div> <!--End blog area--> <?php } get_footer();