[ ] Use the system for plugin templates established in #51
[ ] Place relevant code files in the plugin-templates directory
[ ] Register postmeta for "subheadline"
[ ] Allow meta field to be edited in the post sidebar as rich text
[ ] Restrict field visibility to post post type only
[ ] Create a block to display the contents of this field which can be added to a template in a block-based theme
Description
This Pull Request aims to implement a custom field and theme block for managing subheadlines in articles. The subheadline should be displayed between the post title and other post metadata such as the author and publish date.
Use Case
As an editor, the goal is to set a subheadline that will appear below the headline in the article template.
Technical Details
The postmeta field should be named create_wordpress_plugin_subheadline and set its type to string with a default value of an empty string.
The block should be named theme-subheadline and be categorized under theme.
Additional Context
Please provide any additional information or context relevant to this feature implementation.
Pull Request
plugin-templates
directory to create the following:create_wordpress_plugin_subheadline
metacreate_wordpress_plugin_subheadline
meta with TinyMCERelated Issue
Changes Proposed
plugin-templates
directorypost
post type onlyDescription
This Pull Request aims to implement a custom field and theme block for managing subheadlines in articles. The subheadline should be displayed between the post title and other post metadata such as the author and publish date.
Use Case
As an editor, the goal is to set a subheadline that will appear below the headline in the article template.
Technical Details
create_wordpress_plugin_subheadline
and set its type tostring
with a default value of an empty string.theme-subheadline
and be categorized undertheme
.Additional Context
Please provide any additional information or context relevant to this feature implementation.