Title: Secondary Title
Author: thaikolja
Published: <strong>јануари 29, 2014</strong>
Last modified: јануари 9, 2025

---

Search plugins

![](https://ps.w.org/secondary-title/assets/banner-772x250.png?rev=3219902)

![](https://ps.w.org/secondary-title/assets/icon.svg?rev=2520363)

# Secondary Title

 By [thaikolja](https://profiles.wordpress.org/thaikolja/)

[Download](https://downloads.wordpress.org/plugin/secondary-title.2.2.0.zip)

 * [Details](https://mk.wordpress.org/plugins/secondary-title/#description)
 * [Reviews](https://mk.wordpress.org/plugins/secondary-title/#reviews)
 *  [Installation](https://mk.wordpress.org/plugins/secondary-title/#installation)
 * [Development](https://mk.wordpress.org/plugins/secondary-title/#developers)

 [Support](https://wordpress.org/support/plugin/secondary-title/)

## Description

**Secondary Title** is a simple, light-weight plugin that adds an alternative title
to posts, pages, and/or [custom post types](https://codex.wordpress.org/Post_Types),
which can be displayed automatically, with a shortcode or by using PHP.

The plugin comes with an extra settings page, which allows you to customize the 
plugin according to your needs. You can change:

 * [post types](https://codex.wordpress.org/Post_Types), categories, and specific
   post IDs the secondary title will be
    shown on,
 * whether the secondary title should be automatically added to the standard title(
   _Auto show_),
 * the format both titles are being shown (only works when _Auto show_ is activated),
 * the position where the secondary title input field should be displayed (above
   or below the standard title) within the admin interface (Classic Editor only),
 * whether the secondary title should only be displayed in the main post and not
   within widgets, etc.,
 * if the secondary title should be usable in [permalinks](https://codex.wordpress.org/Using_Permalinks),
 * and even more.

**Please see the [official website](https://docs.kolja-nolte.com/secondary-title/)
for a full documentation.**

## Screenshots

 * [[
 * The output of an example news article where the secondary title is highlighted
   in red and followed by the default post title as set in the plugin’s “Title format”
   setting.
 * [[
 * A post using the Gutenberg block editor. The secondary title can be entered on
   the right-hand side of the “Post” tab.
 * [[
 * A part of Secondary Title’s settings page that you can use to specify how the
   secondary title is displayed on your website. Styling and HTML can be used in
   the “Title format” input field.
 * [[
 * Secondary Title supports the [Classic Editor plugin](https://wordpress.org/plugins/classic-editor/)
   and lets you enter the alternative title right above the primary post title.
 * [[
 * Learn how Secondary Title works and use it for your theme or plugin by reading
   the [official documentation](https://docs.kolja-nolte.com/secondary-title/).

## Installation

#### Quick Installation

 1. Install Secondary Title either by searching for the plugin with WordPress’ native
    plugin installer found under _Plugins_  _Add New_ or [download the plugin manually](https://downloads.wordpress.org/plugin/secondary-title.zip)
    and copy the _secondary-title_ folder into the _/wp-content/plugins/_ directory
    of your WordPress installation.
 2. Activate the plugin in the _Plugins_ section of your admin interface.
 3. Go to _Settings_  _Secondary Title_ to customize the plugin as desired.

**IMPORTANT:** If the _Auto show_ option is set to _Off_, you have to use either

    ```
    <?php echo get_secondary_title($post_id, $prefix, $suffix); ?>
    ```

or

    ```
    <?php the_secondary_title($post_id, $prefix, $suffix); ?>
    ```

in your theme file(s) (e.g., _single.php_) where you would like the secondary title
to be displayed.

**For more detailed documentation with parameters, functions, and examples, please
see the [official documentation](https://docs.kolja-nolte.com/secondary-title/)**.

## FAQ

### More Frequently Asked Questions

The full FAQ can be found in the [documentation](https://docs.kolja-nolte.com/secondary-title/support/faq.html).

## Reviews

![](https://secure.gravatar.com/avatar/f350e86a81ccb230f279073a9c815205bd4318b0f18de033ec62801a7dbe8451?
s=60&d=retro&r=g)

### 󠀁[it’s great and can be controlled individually with CSS](https://wordpress.org/support/topic/its-great-and-can-be-controlled-individually-with-css/)󠁿

 [gudrun](https://profiles.wordpress.org/gudrunpetz/) февруари 11, 2025 1 reply

Hello everyone, I give the plugin 5 stars and can highly recommend it. Many thanks
to Kolja (the developer) who helped me to be able to control the secondary title
on each page individually with CSS in order to display the design differently. This
means that the secondary title is displayed smaller than the primary title and the
reader can be offered even more information. Now it’s great and I have no more wishes.
🙂 In addition to the review, the donation will follow shortly so that this great
plugin can continue to exist for a long time.

![](https://secure.gravatar.com/avatar/da0d8032328c45cef7be3bc3ef49d2fac1bfc7ef6bac69c7b06003888cd05d74?
s=60&d=retro&r=g)

### 󠀁[Enhancing WordPress Titles with Elegance](https://wordpress.org/support/topic/enhancing-wordpress-titles-with-elegance/)󠁿

 [digitb](https://profiles.wordpress.org/digitb/) јуни 22, 2024

The Secondary Title plugin may be tiny, but it is highly effective and incredibly
useful. This plugin adds a unique dimension to the traditional WordPress title, 
enhancing its attractiveness. Young and talented developer Kolja Nolte has been 
exceptionally helpful, resolving a seemingly critical issue with the title display
on my homepage with great dedication. I am deeply grateful for his assistance and
look forward to more outstanding plugins from him in the future. I request the respected
moderators of the WordPress forum to allow Kolja Nolte to interact seamlessly with
the 9000+ plugin users.

![](https://secure.gravatar.com/avatar/dcad0442262126392c25a39e6be2011de165ef8b7e731263e057e5519cee01e6?
s=60&d=retro&r=g)

### 󠀁[Very useful.](https://wordpress.org/support/topic/very-useful-3459/)󠁿

 [mkdes](https://profiles.wordpress.org/mkdes/) април 13, 2024

Very useful.

![](https://secure.gravatar.com/avatar/9f8f099065ceffe62bc40ed22f624d99fcc084ef2b9dc9b656923fe2f0899a11?
s=60&d=retro&r=g)

### 󠀁[I enchanced with ChatGPT](https://wordpress.org/support/topic/i-enchanced-with-chatgpt/)󠁿

 [Topher](https://profiles.wordpress.org/topher1kenobe/) февруари 11, 2024

First off, this is great, it works very well, I’m super happy with it. I did NOT
however want to delve into making custom templates, what I wanted was to treat the
subtitle field like the excerpt. So I went to ChatGPT and said “make a wordpress
plugin that replaces the content of the except with the content of a meta field”
The only thing I had to change was the name of the field, which is _secondary_title.
I’d love to see this as an option in the plugin, the code is only about 10 lines.

![](https://secure.gravatar.com/avatar/6a7df2fda60d34d1f1bd7e72182e9eccb389b7284a5e8b4dd5826feac648fa4f?
s=60&d=retro&r=g)

### 󠀁[Thank you for your plugin and your help Kolja](https://wordpress.org/support/topic/thank-you-for-your-plugin-and-your-help-kolja/)󠁿

 [joon2k](https://profiles.wordpress.org/joon2k/) март 8, 2023

Great plugin and great support. You solved easily my title sizing and now I know
how to do it. Best regards

![](https://secure.gravatar.com/avatar/828be194b158eb9650a707521cfa24aab77b0c5c9962d1fed9fd3bc4d8b6f006?
s=60&d=retro&r=g)

### 󠀁[Secondary Title works as advertised!](https://wordpress.org/support/topic/secondary-title-works-as-advertised/)󠁿

 [nealumphred](https://profiles.wordpress.org/nealumphred/) март 4, 2023 3 replies

Secondary Title plugin is easy to use and works as advertised! Thank you very much
and keep on keepin’ on …

 [ Read all 72 reviews ](https://wordpress.org/support/plugin/secondary-title/reviews/)

## Contributors & Developers

“Secondary Title” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ thaikolja ](https://profiles.wordpress.org/thaikolja/)

“Secondary Title” has been translated into 3 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/secondary-title/contributors)
for their contributions.

[Translate “Secondary Title” into your language.](https://translate.wordpress.org/projects/wp-plugins/secondary-title)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/secondary-title/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/secondary-title/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/secondary-title/)
by [RSS](https://plugins.trac.wordpress.org/log/secondary-title/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.2.0

 * Added support for WordPress `v6.7.1`
 * Added [official Secondary Title documentation](https://docs.kolja-nolte.com/secondary-title/)(
   still in progress)
 * Added comments in the code for better readability
 * Changed minimum PHP version from `v7.1` to `v7.4` since the [majority of WordPress sites use PHP `v7.4`](https://wordpress.org/about/stats/)
   or above
 * Fixed possible security vulnerability for XSS
 * Fixed and renewed [dead screenshots](https://wordpress.org/plugins/secondary-title/#screenshots)
   on WordPress.org’s plugin website
 * Updated dead links in this `README.txt` as well as inside the plugin’s settings
   page. You will now be redirected accordingly
 * Updated [voku/anti-xss](https://github.com/voku/anti-xss) to `v4.1.42` via PHP
   Composer
 * Updated Font Awesome version to `v6.6.0`
 * Updated Copyright to 2025

#### 2.1.0

 * Added support for WordPress `v6.2`
 * Added translations
 * Added minor performance improvements
 * Updated Font Awesome version

#### 2.0.9.1

 * Critical security vulnerability fixed and measures taken to prevent future vulnerabilities

#### 2.0.9

 * Added support for WordPress `v6.1.1`
 * Added padding to `<input>` for Post IDs
 * Rebuilt the “Select all” link to toggle all categories
 * Enlarged “Post IDs” input field

#### 2.0.8

 * Added support for WordPress `v5.8`

#### 2.0.7.1

 * HOTFIX: Reverted a change that caused [a bug](https://wordpress.org/support/topic/secondary-titles-showing-in-categories-sidebar/)
   when displaying the secondary title in sidebars

#### 2.0.7

 * Added support for [wp-Typography plugin](https://wordpress.org/plugins/wp-typography/)
 * Fixed [bug](https://wordpress.org/support/topic/auto-show-secondary-titles-not-working-with-some-titles/)
   that caused some special characters to be displayed incorrectly when using [wp-Typography plugin](https://wordpress.org/plugins/wp-typography/)(
   thanks to [@msailer](https://wordpress.org/support/users/msailer/) and [@pepe](https://wordpress.org/support/users/pputzer/))
 * [Reintroduced the “Input field position” option](https://wordpress.org/support/topic/above-or-below-the-standard-title/),
   but only if Classic Editor is installed and activated (thanks to [@boborg](https://wordpress.org/support/users/boborg/))
 * Removed localized files and their related PHP functions since this is now being
   handled and downloaded automatically by WordPress

#### 2.0.6

 * Fixed [bug resulting in `PHP fatal error`](https://wordpress.org/support/topic/latest-version-causes-posts-to-crash/)
   when using undeclared variables in function parameters (thanks to [@philsimon](https://wordpress.org/support/users/philsimon/))

#### 2.0.5

 * Added compatibility with WordPress `v5.7`
 * Removed all previously (since version `v1.9.5`) deprecated functions from the
   plugin’s codebase
 * Removed “Input field position” option when using WordPress `v5.0` and above
 * Removed dismissible notice on all pages except for Secondary Title’s settings
   page
 * Fixed PHP notice
 * Fixed code formatting in PHP file headers
 * PHP files now use `die()` instead of `return` statement to prevent files from
   being accessed directly
 * Code in SCSS files has been nested for better readability
 * Updated language files (.pot)
 * Added type annotation to certain PHP functions

#### 2.0.4

 * Fixed [bug](https://wordpress.org/support/topic/php-notice-trying-to-get-property-of-non-object-on-line-471/)
   printing `PHP Notice: Trying to get property of non-object on line 471`
 * Fixed [bug](https://wordpress.org/support/topic/does-not-display-name-of-post-types-in-settings/)
   that resulted in not showing the correct post type names on the settings page
 * Updated code to match current PHP standards
 * Updated dead URLs leading to the documentation website

#### 2.0.3

 * Compatibility with WordPress `v5.5` and below.
 * Changed the minimum required PHP version to `v7.1`.

#### 2.0.2

 * Added full support for [All in One SEO Pack](https://wordpress.org/plugins/all-in-one-seo-pack/)`
   v3.0`. [Use `%secondary_title%`](https://semperplugins.com/documentation/title-settings/)
   to display.
 * Added note reminding that _Input field_ and _Column position_ options only apply
   when using Classical Editor in WordPress versions with Gutenberg (>= `v5.0`).
 * Cosmetic changes to the plugin’s settings page.

#### 2.0.1

 * Hotfix: Moved file `admin/settings.php` to `includes/setings.php` due to PHP 
   complications.

#### 2.0.0

 * Added support for Gutenberg editor. The secondary title can now be entered via
   a meta box on the sidebar of the editor.
 * Added minimized versions for CSS (compiled from [SCSS](https://www.quora.com/What-is-SCSS-How-does-it-differ-from-CSS))
   and JS files for performance improvement.
 * Added partial support for [All in One SEO Pack](https://wordpress.org/plugins/all-in-one-seo-pack/).
   Use `%secondary_title%` to display.
 * Updated Font Awesome to `v5.8.1`.
 * Updated translations.
 * Updated screenshots.
 * Fixed bug with reoccurring donation notice.
 * Minor style adjustments.
 * Removed `/includes/gutenberg-info.php` and the notice saying “Secondary Title
   doesn’t work anymore.”
 * Moved `/includes/settings.php` to `/admin/settings.php`.

#### 1.9.9

 * This version was skipped.

#### 1.9.8

 * This version was skipped.

#### 1.9.7.5

 * Hotfix and minor adjustments.

#### 1.9.7

 * Secondary Title is now compatible with PHP version `v5.2.17` and above.
 * Added info icons next to every setting, which links to the official documentation
   where those settings are being explained in detail.
 * Added “Settings” link to the “Plugins” section in the admin area, which leads
   to the Secondary Title’s settings page.
 * Updated Font Awesome to `v5.2.0`.
 * Minor restructure of resources directories.
 * Declared unused `secondary_title_get_default_setting()` as deprecated function.
 * Donation notifications dismissed by users will start to show up again if the 
   plugin is re-activated (please don’t kill me!).
 * Minor adjustments to the donation notification.

## Meta

 *  Version **2.2.0**
 *  Last updated **1 година ago**
 *  Active installations **8.000+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **6.7.5**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/secondary-title/), [German](https://de.wordpress.org/plugins/secondary-title/),
   [Russian](https://ru.wordpress.org/plugins/secondary-title/) и [Thai](https://th.wordpress.org/plugins/secondary-title/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/secondary-title)
 * Tags
 * [heading](https://mk.wordpress.org/plugins/tags/heading/)[subheading](https://mk.wordpress.org/plugins/tags/subheading/)
   [title](https://mk.wordpress.org/plugins/tags/title/)
 *  [Advanced View](https://mk.wordpress.org/plugins/secondary-title/advanced/)

## Ratings

 4.9 out of 5 stars.

 *  [  69 5-star reviews     ](https://wordpress.org/support/plugin/secondary-title/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/secondary-title/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/secondary-title/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/secondary-title/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/secondary-title/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/secondary-title/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/secondary-title/reviews/)

## Contributors

 *   [ thaikolja ](https://profiles.wordpress.org/thaikolja/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/secondary-title/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.me/thaikolja/10)