add files
This commit is contained in:
22
template-parts/archive/ajax-load-more.php
Normal file
22
template-parts/archive/ajax-load-more.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<!--[archive/ajax-load-more]-->
|
||||
|
||||
<?php if( is_post_type_archive() ) : ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/ajax-load-more/post-type" ) ?>
|
||||
|
||||
<?php elseif( is_tag() ) : ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/ajax-load-more/tag" ) ?>
|
||||
|
||||
<?php elseif( is_author() ) : ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/ajax-load-more/author" ) ?>
|
||||
|
||||
<?php elseif( is_category() && !is_events() ): ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/ajax-load-more/category" ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<!--[/archive/ajax-load-more]-->
|
||||
Reference in New Issue
Block a user