/
home
/
infinitibizsol
/
sidragoondall.com
/
wp-content
/
themes
/
ziptech
/
File Upload :
llllll
Current File: /home/infinitibizsol/sidragoondall.com/wp-content/themes/ziptech/search.php
<?php $ziptech_redux_demo = get_option('redux_demo'); get_header(); ?> <section class="page-title-section"> <div class="container"> <div class="row"> <div class="col-xl-12"> <div class="breadcrumb-area"> <h2 class="page-title"> <?php printf( esc_html__( 'Search Results for: %s', 'ziptech' ), get_search_query() ); ?> </h2> </div> </div> </div> </div> </section> <!-- Page Title End --> <!-- Service Details Section Start --> <div class="service-details-page pdt-110 pdb-70"> <div class="container"> <div class="row"> <div class="col-xl-8 col-lg-7"> <div class="row justify-content-center"> <?php if ( have_posts() ) : while (have_posts()): the_post(); $cates = get_the_terms(get_the_ID(),'category'); $cate_name = ''; $cate_slug = ''; foreach((array)$cates as $cate){ if(count($cates)>0){ $cate_name .= $cate->name.' '; $cate_slug .= $cate->slug.' '; } }?> <?php $image_single = get_post_meta(get_the_ID(),'_cmb_image_single', true); ?> <div class="col-md-12 col-lg-12 col-xl-12"> <div class="news-wrapper-style1 mrb-30"> <?php if (get_post_thumbnail_id() !='') { ?> <div class="news-thumb"> <img src="<?php echo wp_get_attachment_url(get_post_thumbnail_id());?>" class="img-full" alt="blog" /> </div> <?php } ?> <div class="news-description"> <h4 class="the-title"> <a href="<?php the_permalink();?>"><?php the_title(); ?></a> </h4> <div class="content_blog"> <p><?php if(isset($ziptech_redux_demo['blog_excerpt'])){?> <?php echo esc_attr(ziptech_excerpt($ziptech_redux_demo['blog_excerpt'])); ?> <?php }else{?> <?php echo esc_attr(ziptech_excerpt(50)); } ?></p> </div> <div class="news-bottom-part"> <div class="post-author"> <div class="author-img"> <a href="<?php the_permalink();?>"> <img src="<?php echo get_template_directory_uri();?>/images/testimonials/testimonial-img2.jpg" class="rounded-circle" alt="#" /> </a> </div> <span><?php the_author();?></span> </div> <div class="post-link"> <span class="entry-date"><i class="far fa-calendar-alt mrr-10 text-gradient-color"></i><?php the_time(get_option( 'date_format' ));?></span> </div> </div> </div> </div> </div> <?php endwhile; else : ?> <div class="search-custom" > <h4> <?php echo esc_html__( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'ziptech' ) ;?> </h4> <?php get_search_form(); ?> </div> <?php endif;?> </div> <div class="row"> <div class="col-xl-12"> <nav class="pagination-nav pdt-30"> <?php $pagination = array( 'base' => str_replace( 999999999, '%#%', get_pagenum_link( 999999999 ) ), 'format' => '', 'prev_text' => wp_specialchars_decode(esc_html__( '<i class="fa fa-angle-left"></i>', 'ziptech' ),ENT_QUOTES), 'next_text' => wp_specialchars_decode(esc_html__( '<i class="fa fa-angle-right"></i>', 'ziptech' ),ENT_QUOTES), 'type' => 'list', 'end_size' => 3, 'mid_size' => 3 ); if(paginate_links( $pagination ) != ''){ $return = paginate_links( $pagination ); echo str_replace( "<ul class='page-numbers'>", '<ul class="pagination-list">', $return ); } ?> </nav> </div> </div> </div> <div class="col-xl-4 col-lg-5 sidebar-right"> <aside class="news-sidebar-widget"> <?php get_sidebar();?> </aside> </div> </div> </div> </div> <?php get_footer(); ?>
Copyright ©2k19 -
Hexid
|
Tex7ure