Custom Post Type Press Releases
A WordPress plugin that registers a custom post type for managing press releases
by Ralf Hortt · github.com/horttcore/custom-post-type-press · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/horttcore/custom-post-type-press/archive/refs/heads/main.zipReadme
Custom Post Type Press
A WordPress plugin that registers a custom post type for managing press releases.
Features
- Public post type with archive support
- Block editor (Gutenberg) support via REST API
- Featured image, excerpt, and full editor support
- Custom admin labels and update messages
- Translation ready (German included)
Post Type Details
| Property | Value |
|---|---|
| Post type slug | press |
| URL rewrite slug | press-release |
| Archive | Enabled |
| Menu icon | dashicons-media-text |
Supports
- Title
- Editor
- Excerpt
- Post thumbnail
Requirements
- WordPress 5.0+
- PHP 8.0+
Installation
Composer
composer require ralfhortt/custom-post-type-press
Manual
- Download or clone this repository into
wp-content/plugins/Custom-Post-Type-Press - Run
composer install --no-devin the plugin directory - Activate the plugin in the WordPress admin
Development
composer install
The plugin uses ralfhortt/wp-plugin for bootstrapping and ralfhortt/wp-custom-post-type for post type registration.
Language Support
- English (default)
- German (
de_DE)
Translation files are located in the languages/ directory.
Hooks
This plugin does not expose custom hooks. Post type behavior can be extended using standard WordPress filters such as register_post_type_args.
Changelog
1.0.0
- Initial release
License
MIT