這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Category Popular Tags

描述

You can make use of category popular tag to display most used tag on your blog. This will give list of frequently used tag anywhere you place the shortcode or funtion in your theme.

For example [popular_category_tags count=10 type=”popular-tags” category_id=”1″].
You can also call this function from your theme file: cush_category_popular_tag() for basic output.

When using the shortcode type is required. category id, count is not required. if no category id suplied, the plugin will default to current post category available.
For example [popular_category_tags type=”popular-tags” ].

You can find category tags options under Settings page
Settings -> Category Tags

Credit : (https://wordpress.stackexchange.com/questions/261617/display-most-popular-tags-of-category)

螢幕截圖

  • You will find settings under settings
  • Display options
  • Front end display

安裝

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
    1. Activate the plugin through the ‘Plugins’ screen in WordPress

常見問題

How do I use popular category plugin in my theme?

In WordPress theme directory /wp-content/theme/your-theme/, open category.php and page this function where you want the popular tags to appear.

To use shortcode paste this where you want the tags to appear. If no count is specified, the count found on settings page will be used.

How do I show popular tags from a specific category only?

Use this shortcode [popular_category_tags count=10 type=”popular-tags” category_id=”1″]. In the shortcode category_id is the id of the category you want to show.

Can this be used on single post?

Yes. You can add the shortcode to single post.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Category Popular Tags” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Category Popular Tags 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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