Support » Plugin: Theater for WordPress » The backoffice has changed- any way to change it back to previous format?

  • Resolved RisaTab

    (@risatab)


    Hi there- The theatre plugin seems to have changed to a different way of editing it all and adding new events in the backoffice- is there a way of setting it back to the previous way of editing? I find the new way very confusing and not very user friendly compared to how it was. Any idea? Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeroen Schmit

    (@slimndap)

    I assume you are talking about the default Gutenberg editor of WordPress that is now enabled for events.

    To revert this:

    1. Update the Theater for WordPress plugin to v0.18.3.
    2. Add the following line to the functions.php of your (child) theme:

      add_filter( 'theater/gutenberg/support', '__return_false' );

    Thread Starter RisaTab

    (@risatab)

    Thanks Jeroen,
    This seems to have worked (I had to add it in the theme rather than the child theme) but now the media library doesn’t seem to work… any ideas?
    Best,
    Risa

    Plugin Author Jeroen Schmit

    (@slimndap)

    No, I don’t see how this can be related. Can you specify what exactly doesn’t seem to work? And does it work again if you remove the new line of code?

    Thread Starter RisaTab

    (@risatab)

    I think something is now broken in the section I edited. Am I able to send you a screen shot? I’ve tried removing the code and it just sets it back to the form of editing the events page that I don’t like but the media library still isn’t working. However there’s a strange thing in that this line of code keeps self generating at the top of the theme editors:

    add_filter( ‘theater/gutenberg/support’, ‘__return_false’ );add_filter( ‘theater/gutenberg/support’, ‘__return_false’ );add_filter( ‘theater/gutenberg/support’, ‘__return_false’ );add_filter( ‘theater/gutenberg/support’, ‘__return_false’ );add_filter( ‘theater/gutenberg/support’, ‘__return_false’ );add_filter( ‘theater/gutenberg/support’, ‘__return_false’ );add_filter( ‘theater/gutenberg/support’, ‘__return_false’ );add_filter( ‘theater/gutenberg/support’, ‘__return_false’ );add_filter( ‘theater/gutenberg/support’, ‘__return_false’

    and I’m unable to delete it and it seems to keep adding to itself…
    I’ve tried editing both the divi child theme and the divi theme and neither seems to help… any ideas? Thanks!

    Plugin Author Jeroen Schmit

    (@slimndap)

    Update for anyone reading along:

    The issue happened because the extra line of code was added outside of the <?php ?> enclosure in the functions.php of the child theme. We were able to fix it by moving the line of code inside of the php enclosure.

    Thread Starter RisaTab

    (@risatab)

    Thank you Jeroen!! You were incredibly helpful and efficient as always! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The backoffice has changed- any way to change it back to previous format?’ is closed to new replies.