https://github.com/littlebizzy/enable-subtitles
Creates new the_subtitle function
https://github.com/littlebizzy/enable-subtitles
wordpress wordpress-plugin
Last synced: 5 months ago
JSON representation
Creates new the_subtitle function
- Host: GitHub
- URL: https://github.com/littlebizzy/enable-subtitles
- Owner: littlebizzy
- License: gpl-3.0
- Created: 2018-04-02T07:43:36.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-26T07:48:43.000Z (over 1 year ago)
- Last Synced: 2025-05-07T19:58:57.779Z (about 1 year ago)
- Topics: wordpress, wordpress-plugin
- Language: PHP
- Homepage: https://www.littlebizzy.com/plugins/enable-subtitles
- Size: 91.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Enable Subtitles
Creates new the_subtitle function
## Changelog
### 2.0.1
- added `Requires PHP` plugin header
### 2.0.0
- added support for Git Updater
- disables WordPress.org updates
- major code refactor to follow WordPress standards
- changed retrieval function name to `get_the_subtitle()` to mirror native post titles
- changed display function name to `the_subtitle()` to mirror native post titles
- updated shortcode `[subtitle]` to reflect new function names
- added better support for custom post types
- added filter `enable_subtitles_output` to enable modification of subtitle retrieval
- added filter `subtitle_heading_tag` to enable modification of subtitle display tag (e.g. `
` etc)
- added filter `enable_subtitles_post_types` to allow developers to specify which custom post types should support subtitles
- cleaned up HTML output in post editor to mirror native post title input
- various security and coding improvements
- supports PHP 7.0 to PHP 8.3
- supports Multisite
### 1.0.1
- added "Enter subtitle here" field placeholder
### 1.0.0
- initial release
- plugin uses PHP namespaces
- object oriented code