This repository was archived by the owner on Jul 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaxonomy-categories.php
More file actions
executable file
·53 lines (43 loc) · 1.67 KB
/
taxonomy-categories.php
File metadata and controls
executable file
·53 lines (43 loc) · 1.67 KB
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
52
53
<?php
/**
* The template for displaying portfolio category archives
*/
get_header(); ?>
<header class="page-titles">
<div class="container clearfix">
<!-- Page title -->
<h2 class="entry-title"><?php _e( 'Category', 'north' ); ?> / <?php single_cat_title(); ?></h2>
</div>
</header>
<section class="main">
<div id="content">
<div class="container">
<div class="posts">
<div class="post-box-wrap clearfix">
<!-- Grab Portfolio Items -->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article <?php post_class('post block-post'); ?>>
<div class="post-inside">
<a class="overlay-link" href="<?php the_permalink(); ?>"></a>
<div class="box-wrap">
<div class="box-wrap-title">
<a class="box-title-link" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
<?php echo get_the_term_list( $post->ID, 'categories', '<p><i class="fa fa-list"></i>', ', ', '</p>' ); ?>
</div>
<!-- grab the featured image -->
<?php if ( has_post_thumbnail() ) { ?>
<a class="featured-image" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail( 'home-image' ); ?></a>
<?php } ?>
</div><!-- box wrap -->
</div><!-- image post -->
</article><!-- post-->
<?php endwhile; ?>
<?php endif; ?>
<?php north_page_nav(); ?>
</div><!-- post box wrap -->
</div><!-- posts -->
</div><!-- container -->
</div><!-- content -->
</section><!-- main -->
<!-- footer -->
<?php get_footer(); ?>