
Post’s Categories in Sidebar
v1.0zevdesigns · 2012年1月4日 上架
Displays the categories for a single post in the sidebar.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 3,218
- 最近更新
- 2012年1月5日
需要 WordPress 2.0+已测试到 3.3.2
贡献者
截图
This plugin was created to show the categories for a single post in the sidebar.
The categories will be displayed in an unordered list.
You can choose the title for the widget in the sidebar if you wish.
If you’re using the plugin, please drop the link to your blog here.
Example:
<li id="cz_post_cat-3" class="widget-container widget_cz_post_cat">
<h3 class="widget-title">Topics</h3>
<div class="cz-post-cats">
<ul class="cz-cat-ul">
<li class="cz-cat-li"><a href="http://xxx.xxx.xxx/topic/facebook/">Facebook</a></li>
<li class="cz-cat-li"><a href="http://xxx.xxx.xxx/topic/jobs/">Jobs</a></li>
</ul>
</div>
</li>
It uses the is_single() query in php so that it ONLY shows up on single posts. Not pages.
Arbitrary section
Anyone need any info here?

