-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaxonomy-type.php
More file actions
55 lines (51 loc) · 1.85 KB
/
taxonomy-type.php
File metadata and controls
55 lines (51 loc) · 1.85 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
54
55
<?php
$menu_class = 'list-group';
$before = '<div class="list-group-item">';
$after = '</div>';
$theme_location = 'resource_navigation';
?>
<?php get_template_part('templates/page', 'header'); ?>
<?php get_template_part('templates/content', 'modal-signup'); ?>
<div class="container feed-wrap">
<div class="row">
<div class="col-sm-12 inner-col">
<div class="row">
<div class="col-sm-3 col-sidebar">
<div class="inner-col-sidebar">
<?php
wp_nav_menu(array(
//'menu' => $secondary_menu_name,
'theme_location' => $theme_location,
'menu_class' => $menu_class,
'before' => $before,
'after' => $after,));
?>
</div>
</div>
<div class="col-sm-9 col-feed">
<div class="row">
<div class="col-sm-12">
<?php if (!have_posts()) : ?>
<div class="alert alert-warning">
<?php _e('Sorry, no results were found.', 'roots'); ?>
</div>
<?php get_search_form(); ?>
<?php endif; ?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('templates/content', 'taxonomy-type'); ?>
<?php endwhile; ?>
<?php if ($wp_query->max_num_pages > 1) : ?>
<nav class="post-nav">
<ul class="pager">
<li class="previous"><?php next_posts_link(__('← Older posts', 'roots')); ?></li>
<li class="next"><?php previous_posts_link(__('Newer posts →', 'roots')); ?></li>
</ul>
</nav>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>