add files
This commit is contained in:
32
archive.php
Normal file
32
archive.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<!--[archive]-->
|
||||
|
||||
<?php get_header();?>
|
||||
|
||||
<div class="col-12 col-md-12 col-xl-9">
|
||||
|
||||
<?php get_template_part( "template-parts/archive/header" ) ?>
|
||||
|
||||
<?php if( is_post_type_archive() && !is_events() ) : ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/list" ) ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<?php get_template_part( "template-parts/archive/grid" ) ?>
|
||||
<?php get_template_part( "template-parts/archive/ajax-load-more" ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-4 col-xl-3 d-none d-xl-block">
|
||||
|
||||
<?php get_template_part( "template-parts/sidebar/right-sidebar" ) ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
||||
<!--[/archive]-->
|
||||
Reference in New Issue
Block a user