[WordPress] 外掛分享: Post’s Categories in Sidebar

首頁外掛目錄 › Post’s Categories in Sidebar
WordPress 外掛 Post’s Categories in Sidebar 的封面圖片
10+
安裝啟用
尚無評分
5187 天前
最後更新
問題解決
WordPress 2.0+ v1.0 上架:2012-01-03

內容簡介

這個外掛的目的是在側邊欄中顯示單篇文章的分類。

分類將以無序清單的形式顯示。

如果您希望,您可以在側邊欄中為小工具選擇標題。

如果您正在使用此外掛程式,請在此處放下您的部落格連結。

範例:

<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>

它在 php 中使用 is_single() 查詢,因此只會出現在單篇文章中,而不是頁面。

任意區段

是否有任何需要此處提供的資訊?

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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:

  • Topics

  • 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?

    延伸相關外掛

    文章
    Filter
    Apply Filters
    Mastodon