Tagged Questions
0
votes
1answer
35 views
Restrict access to certain dashboard pages based on user id
I have a client who want's to be given admin access to the dashboard of the test installation of her website on my server.
She hasn't paid me yet so I don't want her to be able to go into the themes ...
1
vote
1answer
79 views
How to create a dashboard widget for one user
I will start by warning you that my programming skill is limited.
I need to create a dashboard widget that will display in the WP dashboard for the users with the user_id=21.
So far I have tried the ...
6
votes
2answers
114 views
alphabetically order role drop-down selection in dashboard
The site I'm working on will have a very large number of unique user roles via a members plugin. Because of that, I'd like to have the Role drop-down selection on the Add New User page to display ...
2
votes
1answer
260 views
How to manually activate user in dashboard only by admin
I'm looking for a function that allows admins (only) to activate new users. When a user registers he have to be approved by the admin before he gets access to log in.
Does anyone know how I can do ...
0
votes
1answer
113 views
Add number of members to “Right Now” dashboard widget
Problem
I have this code in functions.php but it does not output the total number of members (something is wrong with it it breaks the site) in my "Right Now" dashboard. Is there a way to fix it?
...
0
votes
1answer
165 views
Remove users access to dashboard
As far I know, the widgets in the dashboard can be removed, but I want to ask if its possible to remove the access to dashboard completely and allow access to only post-new.php page?
Thanks.
2
votes
1answer
281 views
wp_count_posts, wp_count_terms and wp_count_comments for specific user?
Is there a way for the functions wp_count_posts, wp_count_terms and wp_count_comments to return their results only for a specific user, possibly by using a user's ID?
I'm making a custom "Right Now" ...
0
votes
2answers
181 views
Want to know who is login Admin/User
want to know who is login in my wordpress website if admin login then go to dashboard and if user login then go to homepage
Approach:
I used this code
<?php if ( is_user_logged_in() ) {
...
0
votes
2answers
810 views
Extending the user profile
Is there any way that developing a Wordpress admin panel like this would be possible?
http://deanelliott.me/wp-content/uploads/account-backend.jpg
My client wants it to be displayed within the ...
1
vote
1answer
249 views
Allow user access to Dashboard only!
Update: This snippet below removes the menu also for my admin account:
function remove_menu_items() {
global $menu;
global $user_ID;
if( $user_ID ) :
/* Dashboard only acccess ...
0
votes
2answers
616 views
Change labels on 'Nickname' and 'Biographical Info' in user-edit.php
For a project I'm working on, I want to change the labels of the 'Nickname' and 'Biographical Info' fields on edit profile (user-edit.php) page in the dashboard. I still want to use those fields as ...