Forum
Show tags with the post.html template
I am trying to show the blog post tags for a post but I can't figure out how to get them to show on the page.
Here is my post.html code so far. I had hope it might work something like <perch:categories> but to no avail.
<div class="col-md-8 pull-left">
<div class="single-post-wrapper">
<article class="single-blog-post img-cap-effect">
<div class="img-box">
<img src="<perch:blog id="image" type="image" width="770" height="320" crop="true" label="Image" order="4" bucket="imgblog" />" alt="<perch:blog id="postTitle" />" />
</div>
<div class="meta-info">
<div class="date-box">
<div class="inner-box">
<time class="dt-published" datetime="<perch:blog id="postDateTime" type="date" label="Date" time="true" format="Y-m-d H:i:s" divider-before="Publishing" />">
<b><perch:blog id="postDateTime" format="%d" /></b>
<perch:blog id="postDateTime" format="%b" /><br>
<div class="blogyr"><perch:blog id="postDateTime" format="%Y" /></div>
</time>
</div>
</div>
<div class="content-box">
<h3><perch:blog id="postTitle" type="text" label="Title" required="true" size="xl autowidth" order="1" /></h3>
<ul class="post-links">
<li><i class="fa fa-user"></i> By: <perch:blog id="authorGivenName" type="hidden" /> <perch:blog id="authorFamilyName" type="hidden" /></li>
<!-- TAGS
<li><a href="#" rel="tag"><i class="fa fa-tag"></i>Repair</a></li>
-->
</ul>
</div>
</div>
<perch:blog id="postDescHTML" type="textarea" label="Post" order="2" editor="ckeditor" html="true" size="xxl autowidth" required="true" bucket="imgblog" />
</article>
<div class="tag-social-box clearfix">
<div class="tag-box pull-left">
<perch:categories id="categories" set="blog" label="Categories" display-as="checkboxes">
<a href="archive.php?cat=<perch:category id="catSlug" type="slug" />" >
<perch:category id="catTitle" type="text" />
</a>
</perch:categories>
</div>
<div class="social-box pull-right">
<!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="addthis_inline_share_toolbox"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<perch:blog id="excerpt" type="textarea" label="Excerpt" order="3" suppress="true" size="s" />
<perch:blog id="image" type="image" width="370" height="386" crop="true" suppress="true" bucket="imgblog" />
<perch:blog id="image" type="image" width="325" height="178" crop="true" suppress="true" bucket="imgblog" />
What do I need to do?
Here is my post.php code currently
You can use
perch_blog_post_tags()
https://docs.grabaperch.com/functions/blog/perch-blog-post-tags/
I am being thick here, but how do I get those tags into this html which is part of the post.html template?
ahhhh, great thanks!