开发者 | GaryJ |
---|---|
更新时间 | 2020年8月1日 22:50 |
捐献地址: | 去捐款 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 5.5 |
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.
visual-subtitle
folder to the /wp-content/plugins/
directory.Only currently by amending the plugin code.
You need to add the .subtitle { display: block; }
style to your own theme, along with any other styling you want for it.