forked from mirror/_s
Merge pull request #486 from swissspidy/issue-483
Improve documentation in search template to explain how to override content output for the file.
This commit is contained in:
commit
57eadcfd17
|
@ -19,7 +19,14 @@ get_header(); ?>
|
|||
<?php /* Start the Loop */ ?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<?php get_template_part( 'content', 'search' ); ?>
|
||||
<?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( 'content', 'search' );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
|
|
Reference in New Issue