Skip to content

Subtitle

Md Free

Add Ledes and Subtitles to WordPress Post Titles

Subtitle adds two short text fields to your titles: a lede above the title and a subtitle below it.

Subtitle
Version 2.1

Included with MD Starter and Pro.

Get Subtitle

Compare Free, Starter & Pro

Requirements

Details

Use them on posts, pages and custom post types, and on MD’s archive and category page titles. Fill them in where you write, and they appear with the title.

A Lede Above, a Subtitle Below

Two short fields that frame your title.

A post title with a lede, “Essay · 12 minute read”, above it and a subtitle below it

Fill in Lede and Subtitle on each post. The lede sits above the title and the subtitle sits below it. On the demo site, the “Essay · 12 minute read” line above the title of Own the Room is a lede.

  • In the Block Editor’s Page Settings box
  • Below the title in the Classic Editor
  • In MD’s page title settings, for archives and terms

More Features

Small details that keep it flexible.

Tokens for archives and categories

Archive and term text supports MD’s text tokens, such as {name}, {count} and {description} on category pages, so one setting can write the line for every category.

The blog page title with a lede above it and a line of text below

Basic HTML in the text

The text can include basic HTML, such as a link or emphasis.

Clean markup

The lede renders as <p class="lede"> and the subtitle as <p class="subtitle">, so your theme styles them like any other paragraph with a class.

Hide or change them in code

Return false from md_has_{context}_lede or md_has_{context}_subtitle to hide one, or filter the text with md_{context}_lede and md_{context}_subtitle. The context is post for single posts and page for archive and term page titles.

All Features

Everything Subtitle adds, big and small.

Lede

Short text above the title.

Subtitle

Short text below the title.

Posts, pages and post types

Add them to any single post, page or custom post type.

Archives and terms

Set them in MD’s page title settings for archives and categories.

Block Editor

Fields in the Page Settings box.

Classic Editor

Fields below the title.

Text tokens

{name}, {count} and {description} on category pages.

Basic HTML

Links and emphasis in the text.

Semantic markup

<p class="lede"> and <p class="subtitle">.

Filters

Hide or change either field for posts, or for archive and term titles.

Frequently Asked Questions

Where do I fill in the lede and subtitle?

In the Page Settings box in the Block Editor, below the title in the Classic Editor, or in MD’s page title settings for an archive or term.

Can I use it on category pages?

Yes. Archive and term text supports MD’s text tokens, such as {name}, {count} and {description}.

Does it have global settings?

No. Fill in Lede and Subtitle on each post, or in the page title settings of an archive or term.

Can I hide the lede or the subtitle for everything?

Yes, with the md_has_{context}_lede and md_has_{context}_subtitle filters, where the context is post or page.

What do I need to run it?

MD 6.0 or later, WordPress 6.2 or later, and PHP 7.4 or later.