Add a user to edit the layout of a site

We may need a little more information on the version of WordPress you are running, or at least the interface you are seeing that the new admin is not seeing. Typically, when I troubleshoot WordPress installations and I have to add an administrator, I have full access just like an admin. So, it shouldn’t be …

Read more

Email Subscribe for Downloads in WordPress

The following is not the best solution. It is a simple solution that can be / should be improved and it is intended only to give you a direction. Create a CPT ‘resource’. register_post_type(‘resource’, $args); For args refer here. Under your WP root folder (the one where you have /wp-admin, /wp-includes and /wp-content), via FTP …

Read more

User profile in front-end

You need to do 2 different things to achieve this. URL Structure: Getting the URL in your desired format: http://website.com/user/username By default, user’s archive URL is something like this http://website.com/author/username There is a plugin to change author slug, install this plugin and set the slug to user Plugin: https://wordpress.org/plugins/rename-author-slug/ [Note: I’m the author of this …

Read more

How to create a specific role to manage users

The following capabilities are needed to fully manage users: create_users edit_users promote_users delete_users remove_users list_users Remove role, you’ve created with Members plugin. Add the following code to functions.php of your active theme: add_role( ‘users_manager’, __( ‘Users Manager’ ), array( ‘read’ => true, ‘list_users’ => true, ‘promote_users’ => true, ‘remove_users’ => true, ‘edit_users’ => true, ‘create_users’ …

Read more