| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/search.php.tar |
home/xbodynamge/lebauwcentre/wp-content/themes/onepress/search.php 0000644 00000002565 15111734073 0021522 0 ustar 00 <?php
/**
* The template for displaying search results pages.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
*
* @package OnePress
*/
get_header(); ?>
<div id="content" class="site-content">
<div class="page-header">
<div class="container">
<h1 class="page-title"><?php printf( esc_html__( 'Search Results for: %s', 'onepress' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
</div>
</div>
<div id="content-inside" class="container right-sidebar">
<section id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/**
* Run the loop for the search to output the results.
* If you want to overload this in a child theme then include a file
* called content-search.php and that will be used instead.
*/
get_template_part( 'template-parts/content', 'search' );
?>
<?php endwhile; ?>
<?php the_posts_navigation(); ?>
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
</main><!-- #main -->
</section><!-- #primary -->
<?php get_sidebar(); ?>
</div><!--#content-inside -->
</div><!-- #content -->
<?php get_footer(); ?>
home/xbodynamge/www/wp-content/themes/twentynineteen/search.php 0000644 00000002500 15111734176 0021101 0 ustar 00 <?php
/**
* The template for displaying search results pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
*/
get_header();
?>
<section id="primary" class="content-area">
<main id="main" class="site-main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<h1 class="page-title">
<?php _e( 'Search results for:', 'twentynineteen' ); ?>
</h1>
<div class="page-description"><?php echo get_search_query(); ?></div>
</header><!-- .page-header -->
<?php
// Start the Loop.
while ( have_posts() ) :
the_post();
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'template-parts/content/content', 'excerpt' );
// End the loop.
endwhile;
// Previous/next page navigation.
twentynineteen_the_posts_navigation();
// If no content, include the "No posts found" template.
else :
get_template_part( 'template-parts/content/content', 'none' );
endif;
?>
</main><!-- #main -->
</section><!-- #primary -->
<?php
get_footer();
home/xbodynamge/lebauwcentre/wp-content/themes/integral/search.php 0000644 00000003643 15111753412 0021465 0 ustar 00 <?php
/**
* Category Page for our theme
*
* @package WordPress
* @subpackage Integral
* @since Integral 1.0
*/
?>
<?php get_header(); ?>
<div class="spacer"></div>
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="content">
<h4 class="page-header"><?php printf( __( 'Search Results for: %s', 'integral' ), get_search_query() ); ?></h4>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="pagemeta"><?php esc_html_e('Posted on', 'integral'); ?> <?php the_time( get_option( 'date_format' ) ); ?> <?php esc_html_e('by', 'integral'); ?> <?php the_author_posts_link() ?></div>
<div class="entry">
<?php if(get_the_post_thumbnail()) { ?> <div class="alignleft"><?php the_post_thumbnail('thumbnail'); ?></div> <?php } ?>
<?php the_excerpt(); ?>
</div>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>" class="btn btn-default btn-sm readmore pull-right"><?php esc_html_e('Read more', 'integral'); ?></a>
<div class="pagemeta pull-left"><?php esc_html_e('Posted under', 'integral'); ?> <?php the_category(', '); ?> <?php the_tags(' | Tags: '); ?></div>
<div class="clearfix"></div>
</div> <!--post -->
<?php endwhile;?>
<?php endif; ?>
<?php the_posts_pagination( array(
'mid_size' => 2,
'prev_text' => __( 'Previous', 'integral' ),
'next_text' => __( 'Next', 'integral' ),
'screen_reader_text' => __( ' ', 'integral' ),
) ); ?>
</div><!--content-->
</div>
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>