• Hello, this plugin is adding a whole bunch of extra code into the HTML of Block Editor pages.

    It is adding its options to every single block. But the settings are not being used at all for these blocks.

    This is making is very difficult to locate elements in the code editor of a page.

    It is also making things ‘messy’.

    To give just a glimpse (sine I can’t add screenshots here), one block has the following bits of code in it:

    "extended_widget_opts": {"id_base":-1, "column":
    {"desktop": "12", "tablet": "12", "mobile":"12"},"alignment" :
    {"desktop": "default", "tablet": "default", "mobile": "default"}, "roles":
    {"state":"'","options":"hide"}, "visibility":{"selected":"0", "options": "hide", "acf":
    {"visibility":"hide", "field":"'', "condition":''', "value":"'}},"author_page" :{"author_pages":
    {"selections": "1"}}, "devices" :{"options": "hide"}, "days":{"options": "hide"}, "dates":
    {"options": "hide", "from":"''',"to":"'},"styling" :

    And it goes on and on…

    • Is there a way to prevent this code from being added to widgets that are not using any widget options?
    • Is there a way to add only the code pieces necessary for any particular widget option being applied to a block?
    • How do we remove all the extra code after deactivating the widget options plugin, without having to re-format every single block on all of our pages?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mej de Castro

    (@mej)

    Hi @joycegrace,

    Thanks for reaching out. We have now relayed this to our development team for further verification. We’ll keep you posted!

    Regards,
    Mej, from Widget Options team

    Plugin Author Mej de Castro

    (@mej)

    Hi @joycegrace,

    According to our developer, these codes cannot be removed as they are essential for ensuring that other widgets function correctly with the widget options in Gutenberg.

    Thanks and let us know if you have other questions.

    Regards,
    Mej, from Widget Options team

    Thread Starter joycegrace

    (@joycegrace)

    Why can’t you just remove the code that is not being used for a particular widget? What would one widget’s code have to do with another widget’s code?

    Can you also please answer this question from the original post:

    How do we remove all the extra code after deactivating the widget options plugin, without having to re-format every single block on all of our pages?

    • This reply was modified 2 months ago by joycegrace.
    Plugin Author Mej de Castro

    (@mej)

    Hi @joycegrace,

    Our development team is currently in process of creating a solution on how to remove the extra codes when the Widget Options plugin is deactivated.

    We appreciate your patience and we’ll keep you posted about this.

    Kind Regards,
    Mej, from the Widget Options Team

    Plugin Author Mej de Castro

    (@mej)

    Hi @joycegrace,

    We recently released a new version of Widget Options. Have you updated the plugin yet?

    We strongly recommend updating to the latest version, as it includes a patch for removing the redundant code not required by the block editor

    Thank you, and we’d appreciate your feedback on this update!

    Kind Regards,
    Mej, Widget Options Team

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.