mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-14 23:21:07 +01:00
62 lines
1.9 KiB
PHP
62 lines
1.9 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* Theme: silverOrchid
|
||
|
* Theme URL: http://gazpo.com/2012/04/silverorchid
|
||
|
* Created: April 2012
|
||
|
* Author: Sami Ch.
|
||
|
* URL: http://gazpo.com
|
||
|
*
|
||
|
**/
|
||
|
$gazpo_settings = get_option( 'gazpo_options');
|
||
|
get_header();
|
||
|
?>
|
||
|
|
||
|
<div id="content">
|
||
|
|
||
|
<?php if (have_posts()) : ?>
|
||
|
<h2><?php _e('Search Results For ', 'silverorchid'); ?>“<?php echo $s; ?>”</h2>
|
||
|
<?php
|
||
|
while (have_posts()) : the_post(); ?>
|
||
|
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||
|
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||
|
<div class="post-meta">
|
||
|
<span class="info">
|
||
|
<span class="date"><?php the_time('M. d') ?></span>
|
||
|
<?php if ( $post->post_type == 'post' ) { ?>
|
||
|
<span class="category"><?php the_category(', ' ); ?></span>
|
||
|
<?php } ?>
|
||
|
<span class="comments"><?php comments_popup_link( __('no comments', 'silverorchid'), __( '1 comment', 'silverorchid'), __('% comments', 'silverorchid')); ?></span>
|
||
|
</span>
|
||
|
</div>
|
||
|
|
||
|
<div class="entry">
|
||
|
<?php
|
||
|
if ( $gazpo_settings['gazpo_read_more'] != ''){
|
||
|
$readmore_text= $gazpo_settings['gazpo_read_more'];
|
||
|
} else {
|
||
|
$readmore_text= 'Read more →';
|
||
|
}
|
||
|
the_content($readmore_text);
|
||
|
?>
|
||
|
</div>
|
||
|
</div><!-- /post-->
|
||
|
|
||
|
<?php
|
||
|
endwhile;
|
||
|
else : ?>
|
||
|
<div class="post">
|
||
|
<h2><?php _e('Nothing Found For ', 'silverorchid'); ?>“<?php echo $s; ?>”</h2>
|
||
|
<p><?php _e('No posts found. Please try searching with different keywords.', 'silverorchid'); ?></p>
|
||
|
</div>
|
||
|
<?php
|
||
|
endif;
|
||
|
?>
|
||
|
|
||
|
<div id="pagination">
|
||
|
<?php echo gazpo_pagination(); ?>
|
||
|
</div>
|
||
|
</div><!-- /content -->
|
||
|
|
||
|
<?php get_sidebar(); ?>
|
||
|
<?php get_footer(); ?>
|