Title: Widget Subtitles
Author: Jory Hogeveen
Published: <strong>2016 年 6 月 30 日</strong>
Last modified: 2024 年 11 月 12 日

---

搜索插件

![](https://ps.w.org/widget-subtitles/assets/banner-772x250.png?rev=1474764)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/widget-subtitles/assets/icon-256x256.png?rev=1474678)

# Widget Subtitles

 作者：[Jory Hogeveen](https://profiles.wordpress.org/keraweb/)

[下载](https://downloads.wordpress.org/plugin/widget-subtitles.1.2.1.zip)

 * [详情](https://cn.wordpress.org/plugins/widget-subtitles/#description)
 * [评价](https://cn.wordpress.org/plugins/widget-subtitles/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/widget-subtitles/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/widget-subtitles/#developers)

 [支持](https://wordpress.org/support/plugin/widget-subtitles/)

## 描述

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.

#### Filters

 * [`widget_subtitles_element`](https://github.com/JoryHogeveen/widget-subtitles/wiki#filter-widget_subtitles_element)
 * [`widget_subtitles_classes`](https://github.com/JoryHogeveen/widget-subtitles/wiki#filter-widget_subtitles_classes)
 * [`widget_subtitles_default_location`](https://github.com/JoryHogeveen/widget-subtitles/wiki#filter-widget_subtitles_default_location)
 * [`widget_subtitles_edit_location_capability`](https://github.com/JoryHogeveen/widget-subtitles/wiki#filter-widget_subtitles_edit_location_capability)
 * [`widget_subtitles_available_locations`](https://github.com/JoryHogeveen/widget-subtitles/wiki#filter-widget_subtitles_available_locations)
 * [`widget_subtitles_add_subtitle`](https://github.com/JoryHogeveen/widget-subtitles/wiki#filter-widget_subtitles_add_subtitle)
 * [`widget_subtitle`](https://github.com/JoryHogeveen/widget-subtitles/wiki#filter-widget_subtitle)

You can use these filters inside your theme functions.php file or in a plugin.
 
You can find me here:

 * [Keraweb](http://www.keraweb.nl/)
 * [GitHub](https://github.com/JoryHogeveen/widget-subtitles/)
 * [LinkedIn](https://nl.linkedin.com/in/joryhogeveen)

## 屏幕截图

[⌊The subtitle options⌉⌊The subtitle options⌉[

The subtitle options

[⌊Frontend subtitle example (after title - inside heading)⌉⌊Frontend subtitle example(
after title - inside heading)⌉[

Frontend subtitle example (after title – inside heading)

## 安装

Installation of this plugin works like any other plugin out there. Either:

 1. Upload and unpack the zip file to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

Or search for “Widget Subtitles” via your plugins menu.

## 评价

![](https://secure.gravatar.com/avatar/1b1790490f9e847dfce148f44531dd43bcf11b6916c7682aa6667e98b056c5a0?
s=60&d=retro&r=g)

### 󠀁[Very useful plugin for dev and designers](https://wordpress.org/support/topic/very-useful-plugin-for-dev-and-designers/)󠁿

 [aryanrajseo](https://profiles.wordpress.org/aryanrajseo/) 2019 年 8 月 5 日

It is very useful plugin to add additional subtitle within the widget without writing
any extra HTMLs. With different positioning and shortcode support, I am not able
only to output Simple text but can easily add shortcodes just like working with 
default widget title. The plugin developer is quick and very fast and helped me 
to solve a problem in less than 5 minutes.

![](https://secure.gravatar.com/avatar/55b9ce7d3453d6c0c149cd77f4441a19bf692d968bf58b7f3dbc3cf9450c2051?
s=60&d=retro&r=g)

### 󠀁[Simple and useful](https://wordpress.org/support/topic/simple-and-useful-178/)󠁿

 [seothemes](https://profiles.wordpress.org/seothemes/) 2017 年 8 月 8 日 1 回复

Great plugin. Love the developer-friendly filters.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/widget-subtitles/reviews/)

## 贡献者及开发者

「Widget Subtitles」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jory Hogeveen ](https://profiles.wordpress.org/keraweb/)

「Widget Subtitles」插件已被翻译至 7 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/widget-subtitles/contributors)
为本插件所做的贡献。

[帮助将「Widget Subtitles」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/widget-subtitles)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/widget-subtitles/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/widget-subtitles/)，或通过[RSS](https://plugins.trac.wordpress.org/log/widget-subtitles/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/widget-subtitles/)。

## 更新日志

#### 1.2.1

 * **Enhancement:** Improve updating subtitles to reflect WordPress default title.
 * **Compatibility:** Tested with WordPress 5.3.

Detailed info: [PR on GitHub](https://github.com/JoryHogeveen/widget-subtitles/pull/12)

#### 1.2

 * **Feature:** New filter: `widget_subtitle` to change the subtitle for a widget.
   Similar to WP’s `widget_title`.
 * **Feature:** New filter: `widget_subtitles_add_subtitle` to allow custom subtitle
   location handlers.
 * **Enhancement:** Extended filter: `widget_subtitles_available_locations` now 
   allows custom locations.
 * **Enhancement:** Make use of `wp_get_sidebars_widgets()` instead of a global 
   to get the related sidebar ID from a widget instance.
 * **Documentation:** Created a wiki on GitHub.

Detailed info: [PR on GitHub](https://github.com/JoryHogeveen/widget-subtitles/pull/11)

#### 1.1.4.1

 * **Fix:** PHP notice.

#### 1.1.4

 * **Enhancement:** Form JS handling.
 * **Enhancement:** Add support links on plugins overview page.
 * **Maintenance:** Updated to CodeClimate v2.

Detailed info: [PR on GitHub](https://github.com/JoryHogeveen/widget-subtitles/pull/10)

#### 1.1.3

 * **Feature:** new filter `widget_subtitles_available_locations`. Overwrites the
   available locations for a widget.
 * **Enhancement:** Add fourth `WP_Widget` object parameter to the `widget_subtitles_element`
   and `widget_subtitles_classes` filters.
 * **Enhancement:** JavaScript improvements.
 * **Compatibility:** Tested with WordPress 4.9.

Detailed info: [PR on GitHub](https://github.com/JoryHogeveen/widget-subtitles/pull/9)

#### 1.1.2

 * **Feature:** new filter `widget_subtitles_default_location`. Sets the default
   location for subtitles.
 * **Feature:** new filter `widget_subtitles_edit_location_capability`. Change the
   capability required to modify subtitle locations. [#8](https://github.com/JoryHogeveen/widget-subtitles/issues/8)
 * **Enhancement:** Fix CodeClimate coding standards issues.
 * Screenshots added

Detailed info: [PR on GitHub](https://github.com/JoryHogeveen/widget-subtitles/pull/7)

#### 1.1.1

 * **Enhancement:** Fixed code inspections from CodeClimate.
 * **Compatibility:** Tested with WordPress 4.8.

Detailed info: [PR on GitHub](https://github.com/JoryHogeveen/widget-subtitles/pull/5)

#### 1.1

 * **Enhancement:** Add extra parameters to the filter hooks.

#### 1.0.1

 * **Enhancement:** Update textdomain hook.

#### 1.0

 * First version.

## 额外信息

 *  版本 **1.2.1**
 *  最后更新：**2 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 5.2.4 或更高版本 **
 *  语言
 * [Dutch](https://nl.wordpress.org/plugins/widget-subtitles/) 、 [English (Australia)](https://en-au.wordpress.org/plugins/widget-subtitles/)、
   [English (Canada)](https://en-ca.wordpress.org/plugins/widget-subtitles/) 、 
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/widget-subtitles/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/widget-subtitles/) 、 [English (US)](https://wordpress.org/plugins/widget-subtitles/)、
   [French (Belgium)](https://fr-be.wordpress.org/plugins/widget-subtitles/) 和 
   [German](https://de.wordpress.org/plugins/widget-subtitles/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/widget-subtitles)
 * 标签
 * [subtitle](https://cn.wordpress.org/plugins/tags/subtitle/)[subtitles](https://cn.wordpress.org/plugins/tags/subtitles/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)[widget subtitle](https://cn.wordpress.org/plugins/tags/widget-subtitle/)
 *  [高级视图](https://cn.wordpress.org/plugins/widget-subtitles/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/widget-subtitles/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/widget-subtitles/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/widget-subtitles/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/widget-subtitles/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/widget-subtitles/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/widget-subtitles/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/widget-subtitles/reviews/)

## 贡献者

 *   [ Jory Hogeveen ](https://profiles.wordpress.org/keraweb/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/widget-subtitles/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.keraweb.nl/donate.php?for=widget-subtitles)