外掛說明
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?
螢幕擷圖
安裝方式
Very easy.
- Unzip and upload
posts-categories-in-sidebar.1.0.zip
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place the Widget in your sidebar wherever you desire.
- Title it whatever you want.
The div’s in the widget have been labeld with very easy classes for styling in your CSS.
常見問題集
First version. No questions yet.
If you’re using the plugin, please drop the link to your blog here.
- This enables me to see my widget in use.
- You get to see demos of it in use. Help the community.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0
- First version.
- Pure awesome.