Delete search.php
This commit is contained in:
1 parent
87c0912090
commit
0330ec2f82
1 file changed
-33
-33
@@ -1,33 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Search results template.
|
||||
*
|
||||
* @package Super_Simple_WP_Theme
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
||||
$sswt_heading = sprintf(
|
||||
/* translators: %s: search query. */
|
||||
__( 'Søk: %s', 'super-simple-wp-theme' ),
|
||||
get_search_query()
|
||||
);
|
||||
?>
|
||||
<h2 class="entry-title search"><?php echo esc_html( $sswt_heading ); ?></h2>
|
||||
<?php
|
||||
|
||||
if ( have_posts() ) :
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</article>
|
||||
<?php
|
||||
endwhile;
|
||||
endif;
|
||||
|
||||
get_footer();
|
||||
Reference in new issue
Block a user