Skip to content

Update Bomber Icon shortcode usage #54

@jnschrag

Description

@jnschrag

Currently, the site is set up to include the Bomber Icon automatically at the end of the post content unless the program has checked a meta box that says to not include it. The new Gutenberg blocks mean that including the icon will result in it being separated on its own line below the content as opposed to on the same line as the last bit of text content.

To fix this, we need to rework this feature so that the program must manually include the Bomber shortcode when they want to use it.

To-dos

  • Remove filter on the_content. Relevant function here.
  • Remove custom post meta box for _post_disable_post_bottom_icon on all relevant post types
  • Look at possibility of adding a button to the toolbar to insert the [aircraft] shortcode when clicked. Check-out this tutorial from the documentation.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions