這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Post’s Categories in Sidebar” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Post’s Categories in Sidebar 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • First version.
  • Pure awesome.