File "tp-archive-event.php"
Full Path: /home2/sdektunc/cepali.edu.mx/wp-content/plugins/tp-education/templates/tp-archive-event.php
File size: 1.8 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* The template for displaying archive pages.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package TP Education
* @since 1.0
*/
get_header(); ?>
<div id="content" class="site-content background-image-properties">
<div id="primary" class="content-area os-animation" data-os-animation="fadeIn">
<main id="main" class="site-main" role="main">
<?php
if ( have_posts() ) : ?>
<section id="search-course-tab" class="page-section no-padding-bottom os-animation" data-os-animation="fadeIn">
<div class="container">
<div class="entry-content">
<ul id="two-column" class="course-lists three-columns os-animation">
<?php
/* Start the Loop */
$i = 1;
while ( have_posts() ) : the_post();
/**
* Hook - tp_education_archive_event_content_action.
*
* @hooked tp_education_archive_event_content - 10
*/
do_action( 'tp_education_archive_event_content_action' );
if ( $i % 3 == 0 ) echo '<div class="clear"></div>';
$i++;
endwhile; ?>
</ul><!-- .course-lists -->
</div><!-- .entry-content -->
<?php if ( has_action( 'tp_education_pagination_action' ) ) :
/**
* Hook - tp_education_pagination_action.
*/
do_action( 'tp_education_pagination_action' );
else :
the_posts_navigation();
endif; ?>
</div><!-- .container -->
</section><!-- .search-course-tab -->
<?php
else :
get_template_part( 'template-parts/content', 'none' );
endif;
?>
</main><!-- #main -->
</div><!-- #primary -->
<?php if ( apply_filters( 'tp_education_is_sidebar_enable_filter', true ) ) :
get_sidebar();
endif; ?>
</div><!--end .site-content-->
<?php
get_footer();