WordPress plugin intelligence profile

Override Post Title with First Content Heading

On a singular post/page, returns the contents of the first content H1 or H2 instead of the post_title as normally. Facilitates SEO.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 2.9
Current version0.2.5
WordPress coverageTested up to WordPress 2.9
Minimum stackWP 2.7 · PHP —
Directory statusactive
Last directory update21 Dec 200916y ago
Active installations70Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Override Post Title with First Content Heading version 0.2.5 as active, updated 16y ago and tested up to WordPress 2.9.

Overview

About this plugin

This plugin is developed at

Shepherd

Interactive for the benefit of the community. No support is available.

Please post any questions to the support

forum.

On a singular post/page, normally in The Loop the_title() returns

post_title; if, however, this needs to be overridden so that a

e. for SEO purposes), then an

h1 or h2 element may be supplied at the beginning of

the post_content and the contents of this heading element

will be returned by the_title() instead of post_title.

From a technical perspective, the site title in the main header should be

an h1 element and the page/post title should in an h2

element within an article, per HTML5:

>

Sections may contain headings of any rank, but authors are strongly

encouraged to either use only `h1` elements, or to use elements of the

appropriate rank for the section’s nesting level.

This is seen in the default WordPress theme and the HTML specifications. However,

SEO places higher priority on the contents of an h1 element, so if

every page of a site has the exact same h1 contents (the site name),

then search engines may not be as likely to rank the page based on the unique

contents of the h2. It has been suggested

therefore that the h1 and the h2 elements be swapped,

so that the site title appears in an h2 and so that the unique page

title appears in the h1. While the specifications don’t prefer this

arrangement, it is not incorrect, also per HTML5:

>

Both of the documents are semantically identical and would produce the same

outline in compliant user agents.

So if different heading levels are semantically equivalent, and if search

engines really place that much importance on h1, then SEO wins.

In both cases, content section headings should be coded with h3 and

below.

Technical note: If the $post object is not passed into the_title

filter, then the page’s the_title() must be called before every other

the_title() call in_the_loop()

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • h1
  • h2
  • heading
  • seo
  • title
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 2.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 2.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to2.9
Minimum requirementsWordPress 2.7 · PHP not listed
Update activity21 Dec 200916y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.