Event-Organiser icon indicating copy to clipboard operation
Event-Organiser copied to clipboard

Internal link search for events not working in Gutenberg

Open LazyDevStudio opened this issue 5 years ago • 3 comments

Events cannot be linked from other posts using Gutenberg because "show_in_rest" is not set to true when registering the events CPT. If set to true in event-organiser-cpt.php, it works. Please included this with the next update. See here: https://github.com/WordPress/gutenberg/issues/9131#issuecomment-414385913

LazyDevStudio avatar Sep 29 '19 15:09 LazyDevStudio

Hi @krays ,

I will probably enable this by default from the next major version. You can however, use the eventorganiser_event_properties filter to enable this in the mean time.

stephenharris avatar Sep 30 '19 20:09 stephenharris

That' great :-) . Event categories need this too to actually show in the sidebar in wp 5.2.3 with the Gutenberg editor activated. Can I use the same filter for this?

LazyDevStudio avatar Sep 30 '19 21:09 LazyDevStudio

Not that filter, but there are other filters for each of the taxonomies (e.g. eventorganiser_register_taxonomy_event-category)

stephenharris avatar Oct 01 '19 21:10 stephenharris