WordPress Admins or Roles per Page

I recommend 2 plugins: User Role Editor: This plugin allows you create new roles and adjust their capabilities. Hide Admin Menu: This plugin allows you hide menu items based on user role. You just need to select which menu items will be hidden for curtain roles.

Can a users profile be put under the dashboard menu

You could just write a custom Dashboard Widget: Tutorial How to Add Custom Dashboard Widgets in WordPress In this article we will show you how you can customize dashboard widgets in WordPress. Documentation Dashboard Widgets API The Dashboard Widgets API (added in WP 2.7) makes it very simple to add new widgets to the administration … Read more

Is there a more efficient admin search function/plugin?

Altering the WHERE clause There’s a filter named posts_search that allows to filter the SQL WHERE clause used for the query during search (when WP_Query::is_search() returns true and WP_Query->s is set): add_filter( ‘posts_search’, ‘wpse134392PostsSearchSQL’, 20, 2 ); function wpse134392PostsSearchSQL( $sql, $wp_query ) { // Alter SQL clause here return $where; } Custom ORDERBY To intercept … Read more

How to remove administrator role in settings -> general -> New User Default Role?

Okay, this looks tricky, but I think it’s possible. The user-new.php file calls wp_dropdown_roles() to output the list of roles. The wp_dropdown_roles() function calls get_editable_roles() to get the list of roles to output. The get_editable_roles() function has a filter, editable_roles. So, you should be able to add a filter for editable_roles, such that, if the … Read more

Disable all https in WordPress

I don’t believe WordPress sends HTTPS requests unless it has been told to do so. It sounds like you need to undo some previous configuration — most likely change/remove the FORCE_SSL_LOGIN constant. You may have plugins participating as well though. Make sure to check that. Reference: http://codex.wordpress.org/Administration_Over_SSL

Prevent author from changing their posts if admin has modified

You can try the following: /** * Post Update Locker For Authors * If an administrator has updated the post, then lock it for author updates. * @see http://wordpress.stackexchange.com/a/168578/26350 */ add_action( ‘pre_post_update’, function( $post_ID, $data ) { // Target only authors: if( ! current_user_can( ‘edit_post’ ) || current_user_can( ‘edit_others_posts’ ) ) return; // Target only … Read more

How do I set up the defualt page icon for admin menu?

Assuming you’re running WP 3.8, you can choose from a collection of icons (listed here). In your case, replace your icon URL with dashicons-admin-page, like so: add_menu_page( ‘Info’, ‘Info’, ‘manage_options’, ‘LINK’, ”, ‘dashicons-admin-page’, 10 ); You can use these icons in various places around WP. There are various articles on this like this one.

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