• Resolved vtad

    (@vtad)


    How can I hide the Design Library Icon from the Block editor?
    or restrict the Access to admin?
    Also, if kadence/rowlayout is not activated following error is shown at the console:
    Uncaught Error: Block type 'kadence/rowlayout' is not registered.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    There is a code way to disable it but not a setting yet, it’s planned for there to be a setting for visibility soon in the Kadence settings.

    Yes it’s expected that the row layout block is enabled, I’ll perhaps add some logic for if it’s not.

    Ben

    Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    I updated to 2.0.3 and there is a new setting where you can hide the button for specific or all users.

    https://share.getcloudapp.com/jkuLp4Q2

    Ben

    Robmcclel

    (@robmcclel)

    Ben,

    I don’t want this feature at all, is there a way to deactivate it across my entire network in one go? I really don’t want to go site by site to turn this off for my users.

    I appreciate that several Gutenberg Plugins are providing these template packs, but they should be an option, not a forced event. UAG offered a code snippet to remove their template button from the editor, and it would be great if Kadence could do the same.

    Thanks,
    Rob Mc

    Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    I’ll put a php code snippet option in the next update. Right now you could do it in Javascript but that is more technical so a PHP filter is certainly something I can add.

    Ben

    sheke

    (@sheke)

    Is there any reason why I wouldn’t see the design library option in the Kadence settings?

    I don’t see a component section at all.

    Is there a way to add a filter to the functions file to hide it?

    Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    Hi,
    Can you send a screenshot of what you are seeing?

    Ben

    sheke

    (@sheke)

    Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    Hey,
    So those are not the same settings area as the image:

    https://share.getcloudapp.com/jkuLp4Q2

    If you go to into a page click on the Kadence icon in the top right corner and you can get to the block settings.

    Ben

    sheke

    (@sheke)

    Got it, thanks.

    stevieboy23

    (@stevieboy23)

    Hi,

    Looking for a PHP snippet to hide the Design Library button (in the Block Editor Toolbar) from users?

    (Love the Plugin!)

    Thanks

    mchildress

    (@mchildress)

    @stevieboy23 I don’t think you need a snippet to hide the Design Library. If you have a page open click the K icon > Block Defaults > Design Library and you can set the user access level. See this screenshot.

    Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    With the latest update you can now use this PHP snippet:

    add_filter( 'kadence_blocks_design_library_enabled', '__return_false' );

    Ben

    stevieboy23

    (@stevieboy23)

    Wonderful – Just what I was looking for!

    Many Thanks

    SoulReverie

    (@soulreverie)

    Thank you for this! What would be even better is if there was a way to keep the design library but not load anything but site-specific templates!

    @britner @soulreverie Second that. Also, please add an option to display only the cloud library.

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘Hide Design Library icon’ is closed to new replies.