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:
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.
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.
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.
text-widget-with-class folder to the
1b. Or use the plugin uploader through WordPress
Activate the plugin through the ‘Plugins’ menu in WordPress
Add widget to your sidebars.
- Is this plugin awesome?
Yes it is.
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 外掛本地化為台灣繁體中文版。
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