该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Post’s Categories in Sidebar

描述

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?

屏幕截图

  • The widget in use. Styled according to the normal widget sidebar.
  • The Application -> Widgets page

安装

Very easy.

  1. Unzip and upload posts-categories-in-sidebar.1.0.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the Widget in your sidebar wherever you desire.
  4. 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.

  1. This enables me to see my widget in use.
  2. You get to see demos of it in use. Help the community.

评价

此插件暂无评价。

贡献者及开发者

「Post’s Categories in Sidebar」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • First version.
  • Pure awesome.