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

Share or sync user table data with another user table

Welcome to WPSE. Asking for plugin recommendations is considered off-topic here, so here’s an action approach to the problem. wp_insert_user() takes care of adding new users to the database. The last action the function fires is user_register, which “Fires immediately after a new user is registered”. You could hook your function to this action and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)