Skip to content

Extend the generic control to support post fields #5

Description

@bobbingwide

The [bw_field] and [bw_fields] shortcodes support both post meta fields and fields which are properties of the post.
eg post_date, post_modified.

These are used in Fizzie to display a series of inline fields, see block-template-parts/metadates.html

<p>Published: [bw_field post_date] | Last updated: [bw_field post_modified] [post-edit]</p>

I could use the same solution in Written, but think it would be better to have a block based solution.

Options are:

  • use the post-date block for the first field
  • develop a post-modified-date block for the other one
  • develop an extension for the post-date block to display post modified date
  • extend the sb-field-block to support post fields
  • optionally, develop a post-modified-date variation.
  • develop a styling solution that will support inlining the blocks in a group using grid / flex ... as used in FAQs in This Is... See also Implement post-meta-inline template part to display post meta fields in an inline block thisis#27

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions