Add a customizable subtitle to your widgets
This plugin adds a subtitle input field to all your widgets. You can also change the location of the subtitle and even use filters to change the subtitle output.
widget_subtitles_element
widget_subtitles_classes
widget_subtitles_default_location
widget_subtitles_edit_location_capability
widget_subtitles_available_locations
widget_subtitles_add_subtitle
widget_subtitle
You can use these filters inside your theme functions.php file or in a plugin.
You can find me here:
Installation of this plugin works like any other plugin out there. Either:
Or search for “Widget Subtitles” via your plugins menu.
Detailed info: PR on GitHub
widget_subtitle
to change the subtitle for a widget. Similar to WP’s widget_title
.widget_subtitles_add_subtitle
to allow custom subtitle location handlers.widget_subtitles_available_locations
now allows custom locations.wp_get_sidebars_widgets()
instead of a global to get the related sidebar ID from a widget instance.Detailed info: PR on GitHub
Detailed info: PR on GitHub
widget_subtitles_available_locations
. Overwrites the available locations for a widget.WP_Widget
object parameter to the widget_subtitles_element
and widget_subtitles_classes
filters.Detailed info: PR on GitHub
widget_subtitles_default_location
. Sets the default location for subtitles.widget_subtitles_edit_location_capability
. Change the capability required to modify subtitle locations. #8Detailed info: PR on GitHub
Detailed info: PR on GitHub