[WordPress] 外掛分享: No Widget Category Cloud

前言介紹

  • 這款 WordPress 外掛「No Widget Category Cloud」是 2007-10-21 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2009-06-20,距離現在已有 5797 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.0 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

sivel |

外掛標籤

post | links | posts | categories | formatting |

內容簡介

建立一個可放置於 WordPress 模板中的函數,用於類別雲,而不需要使用小工具或具有小工具準備功能的主題。

我在使用不具小工具準備功能的單欄主題後,創建了此外掛程式。我發現有多個外掛小工具可用,但沒有一個外掛可以讓我只需將 php 函數放入我的主題中即可顯示類別雲。

這個外掛的其他使用方式如下:

安裝 WP-Sticky 和 Exec-PHP。建立一個置頂貼文,在貼文中輸入此外掛程式的 php 代碼。現在您就擁有一個可以固定在網頁頂部的類別雲。

需求

WordPress 2.x
支援 PHP 的 Web 伺服器

升級

透過 WordPress 的「外掛程式」選單停用外掛程式
從 /wp-content/plugins/ 目錄中刪除以前的 no-widget-category-cloud 資料夾
將新的 no-widget-category-cloud 資料夾上傳至 /wp-content/plugins/ 目錄中
透過 WordPress 的「外掛程式」選單啟用外掛程式

使用方法

small_size = 字體大小,整數 (預設 75)
big_size = 字體大小,整數 (預設 200)
size_unit = %、px、pt (預設 %)
align = left、right、center、justify (預設 left)
orderby = count、name (預設 name)
order = asc、desc (預設 asc)
min_posts = 最少文章數,整數 (預設 1)
hide_empty = 0、1 (預設 1,1=yes,0=no)
title = 字串 (此內容可以包含 HTML 程式碼以格式化標題)

在您想要加入類別雲的主題檔案 (index.php、single.php、page.php 等等) 中,以上述的形式新增一行程式碼。您也可以使用預設設定,即在括號中不指定任何內容。請見下面的範例 2。
享受您的成果。
如我在描述中所提到的,您也可以將此外掛程式與 Exec-PHP 一起使用,這將是一個不錯的組合。

範例

Categories'); ?>

待辦事項

我很樂意聆聽建議。
我相信我還會想到其他事情。

鳴謝

我必須公平地給予 Lee Kelleher 及他的 Category Cloud Widget 開發程式應有的認可。我在此陳述,我在此外掛程式中使用了他的許多程式碼,並在必要時對其進行修改,以使其達到我想要的功能。

原文外掛簡介

Creates a function that can be placed in a wordpress template for a category cloud that exists without the requirement of widgets or a widget ready theme.
I created this plugin after I started using a single column theme that is not widget ready. I found that there were multiple plugin widgets available, but no plugin that would allow me to just place a php function into my theme to display a category cloud.
Some ideas for oter uses of this plugin:

Install WP-Sticky and Exec-PHP. Create a Sticky post which will stay at the top of your page and type the php code for this plugin in the post. Now you have a Category Cloud that stays at the top of your page.

Requirements

WordPress 2.x
Web server that supports PHP

Upgrade

Deactivate the plugin through the ‘Plugins’ menu in WordPress
Delete the previous no-widget-category-cloud folder from the /wp-content/plugins/ directory
Upload the new no-widget-category-cloud folder to the /wp-content/plugins/ directory
Activate the plugin through the ‘Plugins’ menu in WordPress

Usage

small_size = font size, integer (default 75)
big_size = font size, integer (default 200)
size_unit = %, px, pt (default %)
align = left, right, center, justify (default left)
orderby = count, name (default name)
order = asc, desc (default asc)
min_posts = minimum number of posts, integer (default 1)
hide_empty = 0,1 (default 1, 1=yes,0=no)
title = string (This can contain HTML to format the title)

Open the theme files, in your favorite editor, that you wish to add the category cloud to (index.php, single.php, page.php, etc…).
Add a line that looks like above. You can also use the defaults by not specifiying anything between the parentheses. See example 2 below.
Enjoy.
As I mentioned in the description you can also use this plugin with Exec-PHP and it would make a nice combo with WP-Sticky.

Examples

Categories

'); ?>

To Do

I am open to suggestions.
I am sure I will think of something.

Credit
I’ve got to give credit where credit is due. And that credit goes to Lee Kelleher and his Category Cloud Widget. I used a lot of his code in this plugin modifying it where needed to make it work the way I wanted.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「No Widget Category Cloud」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.2 | trunk |

延伸相關外掛(你可能也想知道)

  • WP Shortcodes Plugin — Shortcodes Ultimate 》Shortcodes Ultimate 是一個全面的視覺與功能性元素收集,您可以在文章編輯器、文字小工具甚至是範本檔案中使用。使用 Shortcodes Ultimate,您可以輕鬆地建...。
  • Post Duplicator 》這個外掛是用來製作選定文章的完全一模一樣複製。它支援自訂文章類型、自訂分類和自訂欄位。, *注意: 評論不會被複製到新文章。, 這個外掛的目的是為了快速且...。
  • GenerateBlocks 》將不同的功能整合至編輯器,但並不會因為過多的一維方塊造成內容過於臃腫。使用 GenerateBlocks,您只需深入學習少量的方塊,即可用於創建任何內容。, Genera...。
  • YARPP – Yet Another Related Posts Plugin 》WordPress 相關文章外掛, Yet Another Related Posts Plugin (YARPP) 是一個經過專業維護、高度自訂和功能豐富的外掛程式,可以顯示與當前文章相關的頁面、文...。
  • WP Meta and Date Remover 》移除點擊文章的Meta、作者和日期。 安裝、啟用,完成!, 如何移除文章和頁面的作者Meta和日期?, , 安裝 WP Meta and Date remover。, 啟用外掛。, 選擇隱藏...。
  • WordPress Popular Posts 》WordPress Popular Posts 是一個高度可定製的小工具,可以顯示您最受歡迎的文章。, 主要特點, , 多小工具功能 – 您可以在您的博客上擁有多個 WordPress...。
  • Public Post Preview 》此外掛可讓您分享一個鏈接給匿名使用者,以便他們在發布前預覽文章(或其他公開文章類型)。, 您是否曾經與沒有訪問您網站權限的人共同撰寫文章,並需要給予...。
  • List category posts 》List Category Posts 可以讓你透過使用 [catlist] 短碼在文章或頁面中按類別列出文章。在編輯頁面或文章時,直接插入短碼到文章中,文章就會被列出來。基本的...。
  • Display Posts – Easy lists, grids, navigation, and more 》Display Posts 讓您輕鬆地列出網站上的所有內容。首先在內容編輯器中新增此短碼,以列出最近的文章清單:, [display-posts], , 按類別篩選, 若只想顯示特定類...。
  • CMS Tree Page View 》將所有頁面和自訂文章以 CMS 樹狀概覽方式添加到 WordPress,類似於專注於頁面的 CMS 中經常找到的檢視方式。, 如果您的目標是將多個內容類型合併到單一檢視...。
  • Category Posts Widget 》Category Posts Widget是一個輕巧的小工具,設計用於一件事並且做得很好:顯示特定類別中最新的文章。, 基於詞語和類別的文章小工具, 這個免費小工具的高級版...。
  • WP Telegram (Auto Post and Notifications) 》完美整合 Telegram 至 WordPress,讓您完全掌握控制。, Telegram 的卓越 LIVER 支援, 加入聊天室, 我們在 Telegram 上有一個公開小組,提供協助設置外掛、討...。
  • WP Admin UI Customize 》, 儀表板, 顯示選項標籤, 輸出 - 元網站, 管理工具列 (Toolbar), 側邊選單 (Side menu), 元箱的管理, 登入畫面, 其他功能, , 這些自訂化都是可以實現的。, , ...。
  • Ultimate Post Kit Addons For Elementor – (Post Grid, Post Carousel, Post Slider, Category List, Post Tabs, Timeline, Post Ticker and Tag Cloud) 》Ultimate Post Kit Elementor 外掛程式是首個允許您全新且清新地設計部落格網站的外掛程式。這是博客作者、行銷人員和文章類型網站擁有者的最佳工具。, Ultim...。
  • Reading Time WP 》WP Reading Time 讓你輕鬆地在 WordPress 文章中加入預估閱讀時間。啟用這個外掛會自動在你的文章內容的開始加入閱讀時間。你可以在「閱讀時間」設定中取消這...。

文章
Filter
Apply Filters
Mastodon