File: /home/dh_5jabqq/bermudashipwreckarchive.com/wp-content/themes/loquet/archive.php
<?php
/*
* The template for displaying archives
*/
get_header(); ?>
<?php
if( is_tax( 'museum-category' ) or is_tax( 'museum-country' ) or is_tax( 'museum-curator' ) or is_tax( 'museum-director' ) or is_tax( 'museum-tag' ) ) {
echo loquet_museum_taxonomy_overview( $term_id = get_queried_object_id() );
} else {
echo loquet_title_bar();
}
?>
<?php echo loquet_page_wrapper_before(); ?>
<?php echo loquet_flex_container_before( $extra_class = "gt-page-layout" ); ?>
<?php echo loquet_page_content_before(); ?>
<?php
if( have_posts() ) {
if( is_post_type_archive( 'museum' ) or is_tax( 'museum-category' ) or is_tax( 'museum-country' ) or is_tax( 'museum-curator' ) or is_tax( 'museum-director' ) or is_tax( 'museum-tag' ) ) {
echo noxe_museums_archive_listing();
} elseif( is_post_type_archive( 'exhibition' ) or is_tax( 'exhibition-category' ) or is_tax( 'exhibition-country' ) or is_tax( 'exhibition-curator' ) or is_tax( 'exhibition-tag' ) ) {
echo noxe_exhibitions_archive_listing();
} elseif( is_post_type_archive( 'collection' ) or is_tax( 'collection-category' ) or is_tax( 'collection-country' ) or is_tax( 'collection-curator' ) or is_tax( 'collection-tag' ) ) {
echo noxe_collections_archive_listing();
} elseif( is_post_type_archive( 'magazine' ) or is_tax( 'magazine-category' ) or is_tax( 'magazine-publisher' ) or is_tax( 'magazine-language' ) or is_tax( 'magazine-tag' ) ) {
echo noxe_magazines_archive_listing();
} else {
echo loquet_post_listing();
}
echo loquet_pagination();
} else {
echo loquet_no_content();
}
?>
<?php echo loquet_page_content_after(); ?>
<?php get_sidebar(); ?>
<?php echo loquet_flex_container_after(); ?>
<?php echo loquet_page_wrapper_after(); ?>
<?php get_footer();