Add a subtitle to regular post and static you display with a set of functions from your template.
Author: | Fred Dessaint (profile at wordpress.org) |
WordPress version required: | 3.5 |
WordPress version tested: | 4.3.33 |
Plugin version: | 1.0 |
Added to WordPress repository: | 04-12-2015 |
Last updated: | 03-12-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://www.freddessaint.com/ |
Total downloads: | 672 |
Click to start download |
Epitome Subtitle adds a subtitle field in the edit page of a regular post and static page. Note that a small coding is required to display the subtitle in the right location of your template. You provide to your theme the ability to display a title and a subtitle using functions that you call from your template.
Functions
the_subtitle()
takes the current post or page ID and outputs the subtitle.get_the_subtitle($post_id)
has one optional parameter (post or page ID) and returns the subtitle as a string.has_post_subtitle($post_id)
has one optional parameter (post or page ID) and checks whether a subtitle exists.
ChangeLog