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

Text Widget with Class

描述

A text widget based on the default WordPress text widget. Allows users to add custom classes to the widget container and the title tag.

It takes this:
<h3 class=”widget-title”>

And allows you to do this:
<h3 class=”widget-title custom-class custom-class-2 etc”>

It also allows users to add custom classes to the widget container.

NEW
If the sidebar registration in your theme’s function file does not contain any HTML for before or after the title of the widget, this now will now fill that with an <h4> tag set.

General Information

This plugin is absolutely free to use. I made it for a specific personal purpose and decided to share with everyone else. I will try and update this for the future but can’t guarantee.

安裝

1a. Upload text-widget-with-class folder to the /wp-content/plugins/ directory

1b. Or use the plugin uploader through WordPress

  1. Activate the plugin through the ‘Plugins’ menu in WordPress

  2. Add widget to your sidebars.

常見問題

Is this plugin awesome?

Yes it is.

Updates?

Planning on making a version that doesn’t require certain classes to be present to use.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Text Widget with Class” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Text Widget with Class 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0 First release
1.1 8.26.2014 Added field to add classes to the widget container
1.2 3.1.15 Addressed issue if theme function file widget initilization doesn’t contain before or after title tags
1.2.1 3.4.15 Addressed issue if only header tags were present without classes