-
Notifications
You must be signed in to change notification settings - Fork 0
/
taxonomy-skill.php
59 lines (46 loc) · 1.53 KB
/
taxonomy-skill.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
52
53
54
55
56
57
58
59
<?php get_header(); ?>
<?php get_template_part( 'nav' ); // Navigation bar (nav.php) ?>
<?php $terms = get_the_terms($post->id, 'client'); ?>
<div id="sectionHeaderBackground">
<div id="sectionHeader" class="container">
<h1 class="pull-left">
<?php wp_title(""); ?>
</h1>
</div>
</div>
<!-- /end SectionHeader -->
<div id="mainBackground">
<div id="main" class="container">
<section id="primary">
<div class="row">
<div class="span4">
<?php echo term_description( '', get_query_var( 'taxonomy' ) ); ?>
</div>
<div class="span8">
<?php if ( have_posts() ) : ?>
<div class="row item-grid">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'projects' );?>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<!-- REALLY stop The Loop. -->
<?php endif; ?>
</div>
<?php else : ?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Nothing Found', 'spottsfield' ); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'spottsfield' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
</article><!-- #post-0 -->
<?php endif; ?>
</div>
</div>
</section>
</div>
</div>
<!-- /end mainBackground -->
<?php get_footer(); ?>