leymannx
Forum Replies Created
-
Forum: Reviews
In reply to: [Radio Buttons for Taxonomies] Working well in WordPress 5 with GutenbergUh Helga, that’s good news and very much appreciated. The radio buttons appear on the chosen taxonomies. Though the click behavior is a little bit odd, when you click through them the first time. AND when saving it seems to always save all terms, although (thanks to the radios) only one was selected.
I’ll leave you issues on GitHub then, OK?
Forum: Plugins
In reply to: [Post Views Counter] WordPress 5 compatibilityIt’s still working in quick edit mode.
Forum: Reviews
In reply to: [Require Featured Image] no longer works with block editorYou may want lower your star count then.
Forum: Plugins
In reply to: [WP SmartCrop] 2.0.0 does not work under WP 5Did downgrading help?
Forum: Reviews
In reply to: [Radio Buttons for Taxonomies] Working well in WordPress 5 with GutenbergSeems the most reasonable approach by now is to add a custom meta box taking care of that while hiding the built-in meta box at the same time.
https://www.ads-software.com/plugins/categories-metabox-enhanced/ does the first part of adding a custom meta box. And in a review for that plugin https://www.ads-software.com/support/topic/almost-perfect-even-in-gutenberg/#post-11206035 I pasted a little snippet which does the hiding part.
Do you think sounds like a good approach? We then need to distinguish somehow if Gutenberg or no Gutenberg and fire logic accordingly. Quite some work to do.
Forum: Reviews
In reply to: [Categories Metabox Enhanced] Almost perfect even in GutenbergAh, look! This could temporarily be solved by implementing the following snippet I found on GitHub: https://github.com/WordPress/gutenberg/issues/6912#issuecomment-428403380
/** * Disable display of Gutenberg Post Setting UI for a specific * taxonomy. While this isn't the official API for this need, * it works for now because only Gutenberg is dependent on the * REST API response. */ add_filter( 'rest_prepare_taxonomy', function( $response, $taxonomy ){ if ( 'category' === $taxonomy->name ) { $response->data['visibility']['show_ui'] = false; } return $response; }, 10, 2 );