• Resolved Webtaurus

    (@and_or)


    Hi there,

    Lately a new feature, the ‘quick select” box has been introduced in the post editor. Probably there are people that like that and are happy with it.
    On most sites for clients I try to keep the posteditor as clutter free as possible, so I would like to disable this new feature.
    I know I can do it by going to the screen setting, but that would mean visiting the sites as every individual user, so I wonder is there a filter or action that I can use to disable this through the functions.php?

    @joachim = maybe a setting in the plugin could make this sort if configuration easy?

    • This topic was modified 8 years, 6 months ago by Webtaurus.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    I understand the wish of having a clutter free post editor (I usually hide all meta boxes myself and use a 1 column layout).

    The quick select was introduced to make it easier for users to create and add sidebars on a per post/page basis, instead of going to the sidebar manager every time. Having it as an option is a good idea and on the roadmap.

    For now, you can use this code to remove the meta box:

    remove_action("admin_init",array("CAS_Post_Type_Sidebar","initiate"));

    Let me know if this works.

    Thread Starter Webtaurus

    (@and_or)

    Hi Joachim, quick reply as usual!

    Tested your remove_action and can confirm that it works.
    Is there any difference to put it like this? :
    // remove quick select in post editor
    remove_action(‘admin_init’, array(‘CAS_Post_Type_Sidebar’, ‘initiate’));

    Now I just need a way to insert the snippet into 50+ Theme installs ??

    Thanks!

    Plugin Author Joachim Jensen

    (@intoxstudio)

    It shouldn’t matter if you use double or single quotes. I’d suggest you wrap the code it into a small plugin and give it to your clients.

    Hopefully I can add it as an option in one of the next releases. It will most likely be an “opt out” option though, perhaps where it can be toggled off on a post type basis. Any feedback on this is appreciated.

    Thread Starter Webtaurus

    (@and_or)

    Opt out would be just fine… And making it on post type basis is an extra luxury ?? Sounds good!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable New Quickselect in Editor’ is closed to new replies.