Title: Visual Subtitle
Author: Gary Jones
Published: <strong>2011 年 6 月 1 日</strong>
Last modified: 2020 年 8 月 1 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/visual-subtitle.svg)

# Visual Subtitle

 作者：[Gary Jones](https://profiles.wordpress.org/garyj/)

[下载](https://downloads.wordpress.org/plugin/visual-subtitle.1.2.0.zip)

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

 [支持](https://wordpress.org/support/plugin/visual-subtitle/)

## 描述

This plugin adds a Visual Subtitle field to all post, page and custom post types
that have support for a title, and that use the Classic Editor. It doesn’t work 
with the Block Editor.

It allows you to include a string of text that will still be part of the post title,
but be wrapped in a `span` tag, giving something like:

    ```
    <h1>Visual Subtitle<span class="subtitle"></span></h1>
    ```

Keeping it as part of the main level 1 or two heading, means it maintains as much
keyword SEO importance as the main title, yet can be given a style (in your own 
theme) of `display: block;` to make it visually appear as a subtitle.

The visual subtitle is appended to to the title on on the Posts screen, separated
with a pipe (`|`) character, and appended to the title part of the document title
with a colon (`:`) character.

### Translations

 * [Deutsch](http://deckerweb.de/material/sprachdateien/wordpress-plugins/#visual-subtitle)

## 屏幕截图

 * [[
 * The back-end interface, showing the Visual Subtitle field.
 * [[
 * Showing the visual subtitle on the front-end, in this case, styled red, smaller,
   italic and bold.
 * [[
 * The front-end markup, showing the span inside the existing heading element (may
   differ for your own theme).
 * [[
 * Showing the subtitle in the Posts list – the second entry has no subtitle.
 * [[
 * The subtitle can also be amended from the quick edit feature.

## 安装

 1. Unzip and upload `visual-subtitle` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## 常见问题

### Can I change the separators?

Only currently by amending the plugin code.

### My subtitle isn’t appearing on a new line?

You need to add the `.subtitle { display: block; }` style to your own theme, along
with any other styling you want for it.

## 评价

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

### 󠀁[Old plugin. Still works great.](https://wordpress.org/support/topic/old-plugin-still-works-great/)󠁿

 [ywamer](https://profiles.wordpress.org/ywamer/) 2018 年 7 月 5 日

Works as advertised. Simply added the following CSS to help is deeply a bit more
clearly on my site: .subtitle { display: block; margin-top: 1px; font-size: 2.2rem;
font-weight: 400; }

 [ 阅读所有0条评价 ](https://wordpress.org/support/plugin/visual-subtitle/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Gary Jones ](https://profiles.wordpress.org/garyj/)

[帮助将「Visual Subtitle」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/visual-subtitle)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.0

 * Refreshed for 2020 (fix code standards).
 * Fix line-endings in the class file to avoid parser error in PHP 7.3.
 * Slightly refactor how the plugin is initiated.

#### 1.1.0

 * Reposition subtitle field to after title.
 * Add ability for developers to choose which post types have visual subtitle support.
 * Code tidy-up

#### 1.0.1

 * Fixed display issue on Comments page.
 * Added key bit of code that makes the plugin read translation files (props to 
   [Dave](http://deckerweb.de/) for the reminder).
 * Added link to German (de_DE) translation file in the readme.

#### 1.0

 * First public version.

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**6 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 2.9.0 或更高版本 **
 *  已测试的最高版本为 **5.5.18**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/visual-subtitle/)
 * 标签
 * [subtitle](https://cn.wordpress.org/plugins/tags/subtitle/)
 *  [高级视图](https://cn.wordpress.org/plugins/visual-subtitle/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Gary Jones ](https://profiles.wordpress.org/garyj/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://code.garyjones.co.uk/donate/)