diff options
| author | Max | 2019-02-17 17:20:43 +0100 |
|---|---|---|
| committer | Max | 2019-02-17 17:20:43 +0100 |
| commit | c4b2eb526c5733cc32b0550eb76fd072531e223c (patch) | |
| tree | 9e3355627357ca392ae26574c81181bf33bd028e /search.php | |
| parent | 43a8c0fe50529a6b4161d12f087925c06ce37574 (diff) | |
| download | fuselkoenig_de-c4b2eb526c5733cc32b0550eb76fd072531e223c.tar.gz | |
Creates custom post type and custom taxonomy and renders them correctly.
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; ?> |
