![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /home/claqxcrl/confenda.com/wp-content/themes/beevent/ |
<?php /** * The template for displaying Category pages * * @link https://codex.wordpress.org/Template_Hierarchy * * @package WordPress * @subpackage beevent * @since beevent 4.1 */ get_header(); ?> <section class="inner-pages text-center" style="background:url(<?php beevent_InnerHeader();?> )"> <div class="container"> <div class="white_text div_zindex"> <h1 class="page_title"><?php printf(esc_html__( 'Search Results for: %s', 'beevent' ), get_search_query() ); ?></h1> </div> </div> <div class="dark-overlay"></div> </section> <!-- Our Articles --> <section class="our_articles"> <div class="container"> <div class="row"> <div class="col-md-8"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <!-- article-1 --> <?php if( get_post_format() == 'video' ):?> <article id="post-<?php the_ID(); ?>" class="blog_wrap view_one video_post"> <div class="blog_img margin-btm-20"> <?php $vedio_url = get_post_meta( get_the_ID(), 'Be_post_oembed', true ); if ( ! empty( $vedio_url ) ): $step1=explode('v=', $vedio_url); $step2 =explode('&',$step1[1]); $video_url = $step2[0]; ?> <iframe class="mfp-iframe" src="https://www.youtube.com/embed/<?php echo esc_html($video_url); ?>" allowfullscreen></iframe> <?php endif;?> </div> <div class="blog_meta"> <p><a href="<?php the_permalink(); ?>"><?php esc_html_e('Posted on', 'beevent'); ?> <?php echo get_the_date(); ?></a></p> </div> <h3><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h3> <p><?php the_excerpt();?></p> </article> <?php elseif( get_post_format() == 'quote' ): ?> <article id="post-<?php the_ID(); ?>" class="blog_wrap view_one quote_post"> <div class="blog_img margin-btm-20"> <?php $quote_post = get_post_meta(get_the_ID(), 'Be_post_quote', true); if(! empty($quote_post)): ?> <blockquote> <p><i class="fa fa-quote-left"></i> <?php echo esc_html( $quote_post ); ?> <i class="fa fa-quote-right"></i></p> </blockquote> <?php endif; ?> </div> <div class="blog_meta"> <p><a href="<?php the_permalink(); ?>"><?php esc_html_e('Posted on', 'beevent'); ?> <?php echo get_the_date(); ?></a></p> </div> <h3><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h3> <p><?php the_excerpt();?></p> </article> <?php else : ?> <article id="post-<?php the_ID(); ?>" class="blog_wrap view_one"> <div class="blog_img margin-btm-20"> <a href="<?php the_permalink(); ?>"> <?php if ( has_post_thumbnail() ): the_post_thumbnail('full', array('class' => 'img-responsive center-block')); else: echo "<div class='is-empty-box'></div>"; endif;?> </a> </div> <div class="blog_meta"> <p><a href="<?php the_permalink(); ?>"><?php esc_html_e('Posted on', 'beevent'); ?> <?php echo get_the_date(); ?></a></p> </div> <h3><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h3> <p><?php the_excerpt();?></p> </article> <?php endif; ?> <?php endwhile; wp_reset_query();?> <!-- pagination --> <?php beevent_pagination(); ?> <!-- /pagination --> <?php else : ?> <h2> <?php esc_html_e('Search Result Not Found...', 'beevent'); ?> </h2> <?php endif; ?> </div> <!-- Sidebar --> <aside class="col-md-4"> <div class="sidebar_wrap"> <?php get_sidebar(); ?> </div> </aside> </div> </div> </section> <!-- /Our Articles --> <?php get_footer();