I’ve just stumbled about the same issue and started to research if it’s a bug or a feature 😉
I’ve just come across this bug too. Any updates on how to restore the missing fields when using the Gutenburg editor?
I’ve just come across this bug too. Any updates on how to restore the missing fields when using the Gutenburg editor?
My advice would be to check out how to migrate to other plugins. This one used to be the best, but has gone down the drain the last few years
The following works to show categories and tags in the editor when the Gutenberg editor is enabled.
function em_gutenberg_categories_fix($args) {
$args['show_in_rest'] = true;
return $args;
}
add_filter('em_cpt_categories','em_gutenberg_categories_fix');
add_filter('em_cpt_tags','em_gutenberg_categories_fix');
I find that when you select Events > Repeating Events and then click on Add New Repeating Event then the Recurrences box does show up (with Gutenberge enabled) so you can create repeating events. However, when you create a regular event and then enable “This is a recurring event.” in the When box the Recurrences box does not show up. This dynamic behavior only works with the classic editor. You can hide the broken “This is recurring event.” checkbox by using the following:
function bk_hide_recurrence_checkbox_in_gutenberg() {
$screen = get_current_screen();
// Only target the Standard Event in Block Editor
if ( $screen->post_type == 'event' && $screen->is_block_editor ) {
echo '<style>
/* Hides the "This is a recurring event" row in the "When" metabox */
.em-event-text.em-recurrence-checkbox { display: none !important; }
</style>';
}
}
add_action('admin_head', 'bk_hide_recurrence_checkbox_in_gutenberg')
-
This reply was modified 2 weeks, 6 days ago by
joneiseman. Reason: added suggestion for repeating events