Hi opicron
Glad, you like it. I’ll check for Gutenberg compatibility as soon as I can (but for the moment you’ll need patience).
Cheers,
Cyrill
Hi opicron
After having a closer look at how Gutenberg is built, I decided to not add support for Guternberg for the moment (I just haven’t got the time for it). But you’re invited to add it yourself. I’d be pleased to approve your pull request: https://github.com/cyrillbolliger/conditional-featured-image
Cheers,
Cyrill
I managed to use part of your plugin code and another plugins code to add Gutenberg support together. It is smacked and hacked together but at least it works ;).
For a lead check the metabox of the folling plugin: https://ww.wp.xz.cn/plugins/remove-featured-image/.
-
This reply was modified 7 years, 7 months ago by
opicron.
What means the warning “does not work with Gutenberg”? I have WP 5.0.3 and use the Gutenberg editor to create my website. This plugin seems to work fine, the check box shows up in the page editing meta box and when I check it the feature image no longer shows up in the page (but still shows up on page-list links, etc).
Perhaps the plugin has been updated and that warning is no longer needed? Or is there something about working with Gutenberg that I’m overlooking?
Oh that is good news indeed! Maybe Gutenberg now implemented the meta boxes better.
-
This reply was modified 7 years, 3 months ago by
opicron.
OK, my mistake. I now see what the issue is with Gutenberg.
I already had my site built with featured images on page. The only thing I wanted was to turn them off within the page but leave them showing on the parent page thumbnails. So I turned on the “Conditionally…” plugin and voila it worked great!
But if I go back and add new pages, change the featured images, etc. then this plugin messes up the featured image meta box. D’oh!
The workaround is to disable the plugin whenever making changes to featured images or adding pages, then re-enable it. Not really ideal but I like the functionality enough that I’m OK with the workaround…and I don’t add new pages or new featured images very often anyway.