add files
This commit is contained in:
33
template-parts/archive/header.php
Normal file
33
template-parts/archive/header.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<!--[archive/header]-->
|
||||
|
||||
<?php if( is_events() ) : ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/header/event" ) ?>
|
||||
|
||||
<?php elseif( is_branding() ) : ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/header/special/branding" ) ?>
|
||||
|
||||
<?php elseif( (is_special()) ) : ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/header/special/", get_special_slug() ) ?>
|
||||
|
||||
<?php elseif( is_post_type_archive() ) : ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/header/post-type" ) ?>
|
||||
|
||||
<?php elseif( is_tag() ) : ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/header/tag" ) ?>
|
||||
|
||||
<?php elseif( is_author() ) : ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/header/author" ) ?>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/header/category" ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<!--[/archive/header]-->
|
||||
Reference in New Issue
Block a user