• I like the backend as clean as possible. Therefore, I want to hide the Multicollab sidebar by default. I can hide the general Gutenberg sidebar with this JS

    (function(wp) {
    wp.domReady(function() {
    const { dispatch } = wp.data;
    dispatch('core/edit-post').closeGeneralSidebar();
    });
    })(window.wp);

    How can I hide the Multicollab Sidebar? Adding this does not work:

    dispatch('core/edit-post').closeGeneralSidebar("cf-activity-center/cf-activity-center");

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Thread Starter phalancs

    (@phalancs)

    Sorry, I found a setting in the settings panel in the backend to disable “Make Multicollab Activity Panel default in the sidebar on all pages.” Then my code above works fine.

Viewing 1 replies (of 1 total)

The topic ‘Hide sidebar panel by default for all users’ is closed to new replies.