-
Notifications
You must be signed in to change notification settings - Fork 2
/
taxonomy-staff_category.php
51 lines (30 loc) · 1007 Bytes
/
taxonomy-staff_category.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
* The template for displaying your Staff Category custom taxonomy archives.
*
* @package Corporate WordPress theme
* @author WPExplorer.com
* @link https://www.wpexplorer.com
* @since 1.0.0
*/
defined( 'ABSPATH' ) || exit;
get_header(); ?>
<div id="primary" class="content-area clr">
<main id="content" class="site-content" role="main">
<?php get_template_part( 'partials/archive-header' ); ?>
<?php if ( have_posts( ) ) : ?>
<div id="portfolio-wrap" class="wpex-row clr">
<?php $wpex_count=0; ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php $wpex_count++; ?>
<?php get_template_part( 'partials/staff-entry' ); ?>
<?php if ( $wpex_count == '3' ) $wpex_count=0; ?>
<?php endwhile; ?>
</div><!-- #portfolio-wrap -->
<?php wpex_pagination(); ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</main><!-- #content -->
</div><!-- #primary -->
<?php get_footer(); ?>