The PublishPress Blog

Block Access Allows You to Control Blocks for User Roles

“Block Access” is one of the most popular features in the PublishPress Blocks plugin. This feature allows you to control which blocks are available to different user roles. For example, if you want to prevent some user roles from adding “Table” blocks, you can block them from doing that with this feature. In version 2.10…

WordPress Users Can’t Edit the Details for Media Files

A PublishPress user wrote to us with question: I have just installed your PublishPress Capabilities plugin, which is working almost perfectly. The problem that I’m having is that my user can upload images but can not edit the Alternative Text, Title, Description and Caption of the image, which I need the user to be able…

How to Restrict Access to LearnDash Menus for a User Role

We had an interesting question from one of our users who is using the LearnDash plugin for the WordPress Learning Management system. They wanted to lock down many of the LearnDash features and create a user role role that can only access the “Lessons” and “Topics” submenus in LearnDash. This is possible thanks to the…

How to Use the unfiltered_html Capability in WordPress

In this tutorial, I’m going to introduce you to the unfiltered_html permission. This permission is a security feature in WordPress that prevents users from using tags such as iframe and embed, plus also more advanced code such as Javascript. This unfiltered_html permission could be very dangerous in the wrong hands, so please don’t give this…

Show the PublishPress Permissions Metabox For A User Role

In a previous blog post, we talked about hiding the Permissions metabox for a specific user role. Now we will talk about the opposite: showing the PublishPress Permissions metabox for a specific user role. In this case, we will take an example of the Editor role. By default, the Editor role only gets access to…

PublishPress Makes it Easy to Find Reusable Blocks

The latest version of PublishPress Blocks now has a submenu for “Reusable Blocks” that is enabled by default. This submenu allows you to reach the “Reusable blocks” page screen that is normally difficult to find in WordPress. Reusable blocks are an incredibly useful feature in the Gutenberg block editor. They allow you to create content…

Create Users Who Only Access WooCommerce Analytics Coupons Menu

One PublishPress user asked how to create a custom user role that only has access to the “Coupons” area in the WooCommerce Analytics area. They did not want the user to have access to the WooCommerce report menu. This user was a marketing person and only needed to check on the success of their marketing campaigns…