Open jazzsequence opened 6 years ago
I'm not sure it makes sense to even use G'berg for everything -- maybe just the placement of particular sections or the recipe itself....although generally recipes appear below the post so maybe it's not even worth doing a g'berg integration to replace cmb2.
Maybe g'berg integration means creating a block to insert a recipe into another post or insert a list of recipes by a taxonomy.
Replace CMB2 entirely with Gutenberg.
All of the CMB2 fields could be rebuilt as G'berg blocks. This would allow editorial control over how recipes are displayed, rather than putting that burden on the theme -- which ultimately makes the plugin more universal on any theme and relies far less on filtering
the_content
to display recipe information. More importantly, though, an editor could rearrange recipe components however they wanted.Some considerations
register_meta
and the default WP routes for meta that were added after this plugin was built. Would need to think about backwards compatibility and integration.