• Hello

    I’m not sure if this the correct forum to post this question but here goes …

    I’m using Gutenberg editor. I would like to remove/hide some of the options in the document side panel such as Discussions, Permalink, Page Attributes etc. I know I can switch off these under ‘Options’ however I find they keep reappearing and I need to find a solution to programatically (PHP / JS) to remove. Any help on this would be much appreciated.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • I know you’re looking for a way to completely remove these categories from showing up, but a way to remove the information under these categories is to add the following css in the header.php template:

    .editor-post-title .editor-post-permalink {display: none;}
    .edit-post-post-link__link {display: none;}
    .edit-post-post-link__preview-label {display: none;}
    .editor-post-link {display: none;}

    unfortunately, using css will not allow for specific categories to be removed as they are all using the same div class.
    If you can’t find any other solution, this might be something to put in place in the mean time?

    @visiondigital, solved my problems, thanks.

    • This reply was modified 5 years, 7 months ago by pythondict.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gutenberg Editor Options’ is closed to new replies.