What is Gutenberg?
WordPress 5.0 introduced a new editor codenamed Gutenberg. Gutenberg features a different style of
creating content, which introduces a concept called a block.
How does it impact Photonic on your site?
If you have configured Photonic not to use the standard gallery shortcode, and instead have
a custom shortcode via Photonic → Settings → Generic Options → Generic Settings → Custom Shortcode,
you are fine!
But if you are using the gallery shortcode for Photonic and you click on
"Convert to Blocks" using Gutenberg, your post will be in trouble! All your instances of the
gallery shortcode will be replaced by the native WordPress Gallery Block.
To avoid this you can find and replace all instances of the gallery shortcode
used for Photonic and replace them with a custom shortcode of your choosing.
Am I using the Gallery Shortcode with Photonic?
tag, '
', '
', '
', '', '
', '');
$usage->prepare_items();
$usage->display();
?>