PHPackages                             wpscholar/wp-post-subtitle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wpscholar/wp-post-subtitle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wpscholar/wp-post-subtitle
==========================

Adds a subtitle field below the post title field in WordPress.

1.0(8y ago)113GPL-2.0+PHP

Since Mar 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/wpscholar/wp-post-subtitle)[ Packagist](https://packagist.org/packages/wpscholar/wp-post-subtitle)[ RSS](/packages/wpscholar-wp-post-subtitle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Post Subtitle
=============

[](#post-subtitle)

A module that adds a subtitle field below the post title field in WordPress.

Requirements
------------

[](#requirements)

- PHP 5.4+
- WordPress 4.6+

Installation
------------

[](#installation)

1. Add the module to your project via [Composer](https://getcomposer.org/):

```
composer require wpscholar/wp-post-subtitle
```

2. Make sure you have added the Composer autoloader to your project:

```
require __DIR__ . '/vendor/autoload.php';
```

Usage
-----

[](#usage)

The subtitle feature is activated by adding post type support.

If you are adding support to a pre-existing post type, just add this code:

```
add_post_type_support( 'post', 'subtitle' );
```

Be sure to replace `post` with the name of your post type.

Or, in the `supports` argument when registering a post type, just add `subtitle`.

Available Methods
-----------------

[](#available-methods)

The following static methods are publicly available (under the `wpscholar\Wordpress\PostSubtitle` namespace):

- `getSubtitle( $post_id )` - Get the subtitle for a specific post.
- `setSubtitle( $post_id, $value )` - Set the subtitle for a specific post.

Notes
-----

[](#notes)

If you are adding the code to a WordPress plugin or theme, there is no initialization step required. However, if you are adding the code at a higher level in your WordPress project you will need to call the initialization function on the `after_setup_theme` hook, like so:

```
add_action( 'after_setup_theme', '\wpscholar\WordPress\PostSubtitle::initialize' );
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2994d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae89dc177002c2f67341cde2d525e3f3c5b1d6aaaf07df15257a284f001c5551?d=identicon)[wpscholar](/maintainers/wpscholar)

---

Top Contributors

[![wpscholar](https://avatars.githubusercontent.com/u/890951?v=4)](https://github.com/wpscholar "wpscholar (4 commits)")

### Embed Badge

![Health badge](/badges/wpscholar-wp-post-subtitle/health.svg)

```
[![Health](https://phpackages.com/badges/wpscholar-wp-post-subtitle/health.svg)](https://phpackages.com/packages/wpscholar-wp-post-subtitle)
```

###  Alternatives

[vinelab/url-shortener

URL shortening the easy way.

6217.2k](/packages/vinelab-url-shortener)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
