diff options
Diffstat (limited to 'search.php')
| -rw-r--r-- | search.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -51,7 +51,11 @@ $container = get_theme_mod( 'understrap_container_type' ); * 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( 'loop-templates/content', 'search' ); + if ( "angebote" == get_post_type() ) { + get_template_part( 'loop-templates/content', 'angebotenotitle' ); + } else { + get_template_part( 'loop-templates/content', 'search' ); + } ?> <?php endwhile; ?> |
