26 lines
1.0 KiB
PHP
26 lines
1.0 KiB
PHP
<?php
|
|
/* Template Name: Custom Search */
|
|
get_header("faq"); ?>
|
|
<div class="contentarea">
|
|
<div id="content" class="content_right">
|
|
<h3>Search Result for : <?php echo "$s"; ?> </h3>
|
|
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
|
<div id="post-<?php the_ID(); ?>" class="posts">
|
|
<article>
|
|
<h4><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h4>
|
|
<p><?php the_excerpt(); ?></p>
|
|
<!--<p align="right"><a href="<?php the_permalink(); ?>">Read More</a></p>
|
|
-->
|
|
|
|
</article><!-- #post -->
|
|
</div>
|
|
<?php endwhile; ?>
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
</div><!-- content -->
|
|
</div><!-- contentarea -->
|
|
<?php //get_sidebar(); ?>
|
|
<?php get_footer(); ?>
|