• Resolved saxpaolo

    (@saxpaolo)


    Hello – I’ve installed the WP Hotelier plugin for testing purposes. The original custom website already had an registered custom post type with “room” as slug. After installation looks like that WP Hotelier takes over (hence with its classic editor page).
    Later I had to uninstall this plugin (so the original “room” cpt returned into place), but now these has the classic editor enabled, not Gutenberg.
    I deleted all the “hotelier” data/database tables; my room cpt have he “show_in_rest” arg set to true. If I register an “room2” cpt the Gutenberg editor works just fine. I’ve also tried to unregister the room cpt and register again (unregister_post_type(‘room’)), but nope…
    Any clue?

    • This topic was modified 1 year, 6 months ago by saxpaolo.
Viewing 1 replies (of 1 total)
  • Plugin Author benitolopez

    (@benitolopez)

    Hello,

    I don’t think that this is something related to WP Hotelier, but to WordPress.

    WP Hotelier uses a filter to disable Gutenberg on rooms . But when you deactivate WP Hotelier, Gutenberg should appear again because the filter won’t be active. So maybe WordPress uses some sort of cache for that.

    Unfortunately, I don’t have any solution to suggest. I recommend you open a ticket in the WordPress general forum.

Viewing 1 replies (of 1 total)
  • The topic ‘Restore Gutenberg editor’ is closed to new replies.