Have you ever wanted to add a subtitle to your WordPress post, page or a custom post type? If the answer is yes, then here’s the most easiest ever way to do this, and the best part is that you don’t need to touch the code.
Subtitles or secondary heading, as we know, adds something more useful to the original title. It sometimes sparks an argument, a question or simply adds something more catchy to grab readers attention.
In the past, some theme authors have used post excerpts or custom fields for adding subtitles, but these methods have confused many users and is not a very convenient way. Well, here’s a better way to do.
Adding subtitles to posts and pages in WordPress
The best and easiest way to add subtitles to WordPress is by using the Subtitles plugin developed by Philip Arthur Moore. Unlike other plugins available on WordPress.org, with this plugin, you don’t need to manually add any template tags to the theme to display subtitles. This plugin just works, without any need to touch the code in the theme.
Once installed and activated, you’ll be able to see a new text box labelled “Enter subtitle here” beneath the title, and this is where you can add your subtitle.
After adding a subtitle, preview or publish the post and you’ll be able to view your entered subtitle in the frontend. I’ve tried this plugin with three different themes and it worked great with all the themes. You just need to activate the plugin, and enter your subtitle in the space provided. It’s that simple. Also the plugin will automatically match the style of subtitle as per your theme’s color, which means it looks great, no matter which theme you’re using.
Subtitles added with this plugin will be displayed in singular (post), page, search results and can also be extended to be displayed in other areas such as widgets. For more information on this, you can refer to the FAQs on GitHub.
Subtitles are stored in post meta. This means that even if you deactivate this plugin, your subtitles will be stored safely, and will be back once you activate it again. For now, there’s no option to remove the subtitles from your database, however, the developer might add such an option in future versions of the plugin.
Overall, the Subtitles plugin should be your one-stop solution to add subtitles to posts and pages in WordPress. The plugin is also very well documented, and is great for advanced users also. Go ahead, try it out!