-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcategory.php
More file actions
31 lines (31 loc) · 1.23 KB
/
Copy pathcategory.php
File metadata and controls
31 lines (31 loc) · 1.23 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
<?php
/**
* The template for displaying category pages.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Marinara_Blog
*/
get_header();
$cat_id = get_query_var('cat'); ?>
<div id="inside-page-content-wrapper" class="category-page-content-wrapper-row category-page-content-wrapper content-wrapper-row row">
<div id="inside-page-no-featured-img-wrapper" class="container">
<div class="no-feat-img-inner-wrapper row">
<div class="no-feat-img-caption-title">
<h2><?php bloginfo('name'); ?></h2>
</div>
</div>
</div>
<div class="inside-page-container category-page-container container">
<div class="blog-post-listing-col col-xs-12 col-sm-8">
<?php get_template_part('template-parts/content', 'category-post-listing'); ?>
</div><!-- end of <div class="category-post-listing-col -->
<div class="page-sidebar-col col-xs-12 col-sm-4">
<?php get_sidebar(); ?>
</div><!-- end of <div class="page-sidebar-col -->
</div>
<div class="inside-page-footer-container category-page-footer-container container">
<?php get_template_part( 'inside', 'page-container-footer' ); ?>
</div>
</div><!-- end of <div id="inside-page-content-wrapper" -->
<?php get_footer(); ?>