Linux 软件免费装

Plugin Name

开发者 GaryJ
更新时间 2020年8月1日 22:50
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 5.5

标签

subtitle

下载

1.0 1.0.1 1.1.0 1.2.0

详情介绍:

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.

安装:

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

屏幕截图:

  • 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.2.0 Code refresh for 2020. 1.1.0 Reposition subtitle field, improvements for developers. 1.0.1 Minor fix - make plugin translatable, and fix small display issue on Comments page. 1.0 Update from nothingness. You will feel better for it.

常见问题:

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.

更新日志:

1.2.0 1.1.0 1.0.1 1.0