Topic: Compatibility with Wordpress 5.0.2?

I just updated to Wordpress 5.0.2 and am on the learning curve of editing in "blocks"

The [Add Juicebox Gallery] button is gone, or at least I can't find it. I've tried this with a number of themes, all to no avail.

At the moment, my only workaround is through cPanel File Manager, copying a gallery xml file and editing the PostID.

Any help will be greatly appreciated...

Re: Compatibility with Wordpress 5.0.2?

Unfortunately, as you have discovered, the current version of WP-Juicebox (v1.5.1) is not compatible with the new Gutenberg editor within WordPress 5.0 (and later).

We hope to release a version of WP-Juicebox which is compatible with WordPress 5.0 very soon.
In the meantime, there are two things that you can do.

(1) Install and use the Classic Editor plugin (written and maintained by the WordPress team) from here.
This replaces the Gutenberg editor in WordPress 5.0 with the familiar TinyMCE editor and, in doing so, restores WP-Juicebox functionality.

... or:

(2) Try the new version of WP-Juicebox which you can download from here.
It has not yet been released but it has been designed to work with the Gutenberg editor in WordPress 5.0.
The new plugin adds an 'Add Juicebox Gallery' button to the Gutenberg toolbar which, when clicked, displays the regular WP-Juicebox gallery settings window.
After clicking the 'Add Gallery' button, the WP-Juicebox gallery shortcode is entered into the page or post as a Gutenberg 'Shortcode' block.
Here's how to then add images to your WP-Juicebox gallery (essentially attaching images to the page or post) from within Gutenberg:

  • Add a Gutenberg 'Gallery' block to the page or post containing the WP-Juicebox gallery shortcode.

  • Upload images from your local machine by clicking the 'Media Library' button (in the 'Gallery' block) and dragging and dropping the images into the media window.

  • Wait until the images have finished uploading.

  • Reorder the images (if necessary) by going to the 'Create Gallery -> Media Library' section, selecting 'Uploaded to this post' and then dragging and dropping the images into the order you require.

  • Close the media window using the cross at the top right (do not click 'Create a new gallery').

The new version of the plugin also adds the ability to create a new gallery on the 'WP-Juicebox -> Manage Galleries' page.
This is simply an alternative way to create a new gallery when using an editor which does not support the 'Add Juicebox Gallery' button (such as CodeMirror).
After creating a gallery via this method, you would need to copy and paste the shortcode into the page or post (and then attach images to the page or post as usual).

If you are a Juicebox-Pro user, please remember to upgrade the plugin to Juicebox-Pro (as it comes bundled with Juicebox-Lite) by following the instructions here.

Please remember that the plugin has not yet been released and is still officially in an experimental state (although I have tested it myself and it should work fine).
If you choose to try the new plugin, please let me know how you get on and if I can be of any further assistance.

Re: Compatibility with Wordpress 5.0.2?

As always, thanks, Steven!

As soon as I can swing my focus back to it, I'll download the new version and give it a go.

I don't know if it's just me, but I'm really not finding the Gutenberg editor that intuitive or efficient. It will be interesting to see how this evolves...

Re: Compatibility with Wordpress 5.0.2?

I hope you get on OK with the new version of the plugin. Please let me know how it goes.
Gutenberg is certainly a big change from the previous editor. I'm curious to see how it develops, too.