summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'search.php')
-rw-r--r--search.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/search.php b/search.php
index 2c59501..1495828 100644
--- a/search.php
+++ b/search.php
@@ -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; ?>