https://github.com/horttcore/wp-subtitles
Subtitle for WordPress Post Types
https://github.com/horttcore/wp-subtitles
Last synced: about 2 months ago
JSON representation
Subtitle for WordPress Post Types
- Host: GitHub
- URL: https://github.com/horttcore/wp-subtitles
- Owner: Horttcore
- Created: 2012-06-18T09:47:23.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-10-17T13:13:34.000Z (over 11 years ago)
- Last Synced: 2025-03-05T09:45:38.453Z (about 2 months ago)
- Language: PHP
- Homepage: http://horttcore.de
- Size: 172 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WP Subtitle
Subtitle for post type `page`
## Description
This Plugin creates a new input field for subtitles
## Installation
* Put the plugin file in your plugin directory and activate it in your WP backend.
* Go to edit a page
* Below the title you can enter the `subtitle`## Screenshots
[](https://raw.github.com/Horttcore/WordPress-Subtitle/master/screenshot-1.jpg)
## Frequently Asked Questions
### In which languages is this plugin available
Currently only english and german is supported.
### How can I output my subtitle
There are two functions for subtitles.
``
and
``
### Are there any filters I can use?
There is just one filter called `the_subtitle`
### Where can I get support or report bugs?
Please use the [github](https://github.com/Horttcore/WordPress-Subtitle) to report bugs or add feature requests!
### Are there any actions I can hook on?
Sorry no action hooks yet
### I want subtitles for another post type, is this possible?
By default the plugin supports subtitles for posts and pages.
To add support for other custom post types use this WordPress function.
`add_post_type_support( 'YOUR_POST_TYPE', 'subtitle' )`## Changelog
### 1.3
* Security: Subtitle uses esc_html by default
* `Before` and `after` arguments for `the_subtitle()` template tag
* CSS enhancement### 1.2
* Bugfix: Subtitle input was displayed even if the post type did not support it### 1.1
* Enhancement: Code cleanup
* Enhancement: Uninstall process### 1.0
* Initial release