Ad Inserter
94Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...
Add subtitles (subheadings) to your pages, posts or custom post types.
WP Subtitle is a WordPress plugin that allows you to add subtitles, or sub-headings, to your posts and pages. These subtitles appear beneath the main title and can be customised to display wherever you choose in your theme template. The plugin provides a straightforward API for inserting and retrieving subtitles using PHP code.
This plugin is suitable for users who want to enhance their content with additional context or information through subtitles. It can be particularly useful for bloggers, content creators, and website owners looking to improve their post structure and readability.
Best for: This plugin suits bloggers and content creators looking to add subtitles for better content organisation.
What it does well
Where it falls short
WP Subtitle is a simple tool for enhancing post titles with subtitles, suitable for those wanting to improve their content structure. However, it lacks advanced features and visual editing options.
husani's own description of WP Subtitle, lightly tidied.
The WP Subtitle plugin allows your pages and posts to contain a subtitle. Also called a sub-heading, this this short line of text is meant to appear beneath a post’s (or page’s) title, but can be inserted in your template wherever you choose.
The subtitle can be inserted into your theme template files (or plugin) using the following API:
All parameters are optional. If ‘post_id’ is omitted then the current post ID in the loop is used.
PHP Code:
do_action( 'plugins/wp_subtitle/the_subtitle', array(
'before' => '<p class="subtitle">',
'after' => '</p>',
'post_id' => get_the_ID(),
'default_value' => ''
) );
Output:
<p class="subtitle">My Post Subtitle</p>
All parameters are optional. If ‘post_id’ is omitted then the current post ID in the loop is used.
A default value can be supplied as the second parameter for apply_filters. This will be used if the post does not have a subtitle. Leave as an empty string to return an empty string if the post does not have a subtitle.
PHP Code:
$subtitle = apply_filters( 'plugins/wp_subtitle/get_subtitle', '', array(
'before' => '<p class="subtitle">',
'after' => '</p>',
'post_id' => get_the_ID()
) );
Result:
$subtitle = '<p class="subtitle">My Post Subtitle</p>'
Other plugins for custom content structures.
Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...
ACF helps customize WordPress with powerful, professional and intuitive fields. Proudly powering over 2 millio...
Checkout Field Editor (Checkout Manager) for WooCommerce – The best WooCommerce checkout manager plugin to man...
Easily reorder posts, pages, custom post types, and taxonomies with intuitive drag-and-drop sorting in the Wor...
The #1 user-rated activity log plugin for event logging, activity monitoring and change tracking.
Admin UI for creating custom content types like post types and taxonomies