Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides

How to Add Subtitle for Posts and Pages in WordPress

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Add Subtitle for Posts and Pages in WordPress

Have you ever felt that you need a subtitle for your posts and pages? Recently in one of our projects, ThemeLab, we needed to add subtitles to some of our pages. We felt that others might need it as well, so in this article we will show you how to add a secondary alternative title or subtitle in WordPress posts and pages.

Live demo of what it looks like on ThemeLab site:

ThemeLab Subtitle

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

First thing you need to do is install and activate the Secondary Title plugin. Upon activation, you will automatically see an additional title field below your main title on your post edit screen.

Alternate title box for the secondary title in WordPress post editor

Don’t worry if you only want to use it on pages or another custom post type. The plugin comes with its own configuration options which allow you to fine tune how the secondary titles are displayed in the admin area and in your WordPress themes.

If you want to change those options, then you need to click on Settings » Secondary Title menu in the WordPress admin menu.

Secondary Title Settings

On the settings screen, you can choose post types, categories, and/or specific post IDs where you want to display the secondary title. You can also choose the position of the input box on the post editor screen. This will allow you to display the secondary title box above or below the main post title box.

By default the plugin will automatically display secondary titles however you can stop this by choosing No next to Automatic Insert option.

You can manually display secondary titles in your theme by using <?php get_secondary_title(); ?> template tag in your theme files. This will give you maximum control over style.

The default format displays secondary title next to the post title separated by a colon, like this:

The Post Title: The Secondary Title

You can change this by specifying your own format in the Title Format option on the plugin’s settings screen.

Choose the display format for secondary title

This is what it looked like on the default Twenty Thirteen theme.

A WordPress post with secondary title

We hope this article helped you add alternate secondary title or subtitle to posts and pages in WordPress. We also have a tutorial on how to hide title for selective WordPress posts and pages should you need to do that.

If you liked this article, then please subscribe to our YouTube Channel for more WordPress video tutorials. You can also join us on Twitter and Google+.

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »


  1. Dionne says:

    Hi guys,

    How can I style just the secondary title?

    Please reply…

  2. Sahriar Sykat says:

    Any way to do it manually? I can use a custom metabox for this but I want it like this plugin, next to title. Not bottom of editor with other metaboxes

  3. Ellis Sutehall says:

    It appears that the subtitle is inserted into the tag where the main title exists.

    This means that styling it can only be done with span tags and inline styles. This causes problems with things like sidebars that list recent posts.

    For example, I wanted the subtitle smaller and underneath the main title but font-size: 20px meant that it displayed this size in the sidebar too.

    Anyone else experienced this or know of a work around?

  4. WPBeginner Staff says:

    No, currently you don’t need to join WPBeginner you can simply use coupon code provided for the hosting to avail the discounts.

  5. Miss Amia says:

    Do you have to pay to join “Wpbegginer” ? I see your referrers to hosting says, “wpbegginer users get such & such off”

  6. WPBeginner Staff says:

    Depending how you format the secondary title, it will certainly have a little impact on the SEO of the page. Yes you can leave the secondary title blank.

  7. Declan Wilson says:

    Does the secondary title have any impact on SEO?

    Also, I second @disqus_M7pLX0hgAp:disqus’s question.

  8. Kelly says:

    Secondary Title is a great plugin! And your article was especially helpful re: for secondary title appearing below the primary title. Thanks very much.

  9. Carolann says:

    Oh wow I just installed this plugin….can’t wait to start using it. It looks awesome. Thanks so much for the heads-up….love this site!!!!

  10. Amy Russell says:

    If we have this plugin activated, but don’t need a secondary title can we just leave the secondary title line blank? Will it look different than just the basic title & post without the plugin?

  11. miriam says:

    thank you for this article. exactly what I needed. do you know whether the subtitle shows on facebook?

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.