The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
1k views

How to remove “Super Admin” from All Users for those that are not a “Super Admin”?

I would like to remove the filter at the top that says "Super Admin" for users that are not a "Super Admin". How do I go about doing this? This screenshot shows what I am talking about:
0
votes
0answers
19 views

not logged in user's Any Idea? please [closed]

i searched on google and i found last login user plugins, but what i want is Wordpress list not logged in user's since six month?
1
vote
1answer
2k views

Check if specific username is logged in

How can you check if specific username is logged in?
3
votes
2answers
48 views

How to 'unpublish' or 'hide' posts when user role changes?

I'm working on a website that assigns different roles to different users - and I'm looking a functionality I would probably best describe as 'reverse access control': First, users of role "A" are ...
0
votes
0answers
55 views

How to solve Access denied for user ''@'localhost' (using password: NO)

I just upgraded WordPress from v3.5.1 to v4.4.2. I also updated the database per the pop-up note in my WP admin panel. Now when I make change to a page, I get this error: Access denied for user ...
0
votes
1answer
19 views

Users are required to login to my site. How define user.member boolean, its permissions, and conditionally display/handle behavior based on it

Users are required to login to my site. They are redirected to the login page and not allowed past the login page until they authenticate. Once authenticated, they can access most of the website. ...
0
votes
0answers
24 views

How to bulk change user role to “No role for this site”

If I edit an individual user, the role dropdown menu has the option "— No role for this site —" (<option value="">— No role for this site —</option>): However this option doesn't exist ...
3
votes
1answer
1k views

Can an admin check passwords of registered users?

I have a site where I open accounts for users and hand over login credentials to them. Now, Let's say that a user forgot his password, and wants to reset it. He clicks "Lost your password?" link on ...
0
votes
1answer
34 views

Redirect admin 403 “Cheatin uh?” admin pages

Blocking role capabilities on the admin returns the 403 "Cheatin Uh?" page. What is the best way to redirect this to 403 page to perhaps the dashboard, homepage, or a custom 403 page? I know I could ...
0
votes
0answers
33 views

Restricting access to specific site in multi-site platform

I am working on a multi-site platform and I need to allow only certain user-role (i.e Seller) to access specific site. For example: everybody can access domain.com, but I need to set a rule so that ...
10
votes
6answers
4k views

How to restrict attachment download to a specific user?

I have a very specific use case where the site built for a lawyer and each of his clients can login to their own 'specific page/portal' (custom post type) without the ability to access wp-admin etc. ...
-1
votes
1answer
59 views

You do not have permission to access this document on form submit

I have few little problem. If i submitted the user credential for login no matter login detail correct or incorrect page goes to Forbidden on submit button. What i do for this problem Forbidden page ...
3
votes
3answers
9k views

Limit access to posts/pages by user roles

I'm looking for a way to protect content by user roles. Example: you have to be registered to view posts (frontend). If a user is a subscriber he can read post 1, 2 and 3, but if the user is a ...
0
votes
0answers
16 views

track logged in user link/clicks

I'm stumped here. I'm trying to track specific links on my site and report back time stamp of when a user clicked that link. These are for specific downloads and only registered users can access the ...
0
votes
0answers
17 views

Allow a user to update another user's profile

I have a membership site using the Woocommerce Membership Plugin with a number of levels of memberships: student, standard and institutional. They are all able to go in and update their own ...
1
vote
1answer
46 views

REST API: How can I restrict a custom post type to only be accessible by authenticated users?

I have a custom post type configured to be accessible via the WP Rest API v2. How do I lock the access to this custom post type so that only the authenticated users can perform GET requests?
0
votes
1answer
33 views

Signed-in as admin on just part of the site

I recently upgraded from WP 3.1 to 4.4.1. In the new setup, I am apparently seen as signed-in (as an admin) just on parts of the website (/blog/*) but not on other pages (that do not have the /blog/ ...
0
votes
1answer
12 views

How do I get the access type in WordPress?

How do I get the access type (from desktop or mobile) in WordPress? Here is a possible solution posted here. function yundanran_get_access_type() { $is_wap=false; $user_agent = ...
5
votes
2answers
525 views

Disallowing Users of a Custom Role from Deleting or Adding Administrators?

(Moderator's note: The original title was "Custom User Role Restrictions") A project I am working on requires me to create two new user roles - one for the owner of the website and the other for ...
0
votes
0answers
14 views

Site admin that can see everything, but not save

Maybe it's strange question, but I'm interested in it; Is there any way to allow user display everything, that Admin can see (site options, custom types, plugins settings) but disallow to edit ...
0
votes
2answers
12 views

How to enable to the user send content and save as draft entry?

I was wondering if is there a way to enable to the user to send content using a form, to select different options like categories, attach images and so on, and after submit the content save as a draft ...
0
votes
0answers
49 views

Restrict access to custom post type and filter from every query

I created a custom post type topic which is just for internal use. I managed to assign the correct capabilities so that users of certain roles can edit/publish/delete posts. Now I want to redirect ...
1
vote
1answer
35 views

Create custom post with custom user rules

I am create a custom user post type testimonial and want to give permission to user to edit and delete there post but its show some error. 1. I created user rule. function ...
0
votes
1answer
33 views

How can i create a pages for anonymous users in custom plugin..?

I am very new to WP. My requirement is to create a small Booking System as a plugin. I have 5 different pages for entering details step by step and Users can book as anonymous. Admin only need a mail ...
0
votes
0answers
20 views

Wordpress logged in users see 180 days every day other content on a particular page

What I want is this: A user logs in for the first time and gets 180 days. In these 180 days , he can visit the information page . On this page the content changes every day in this 180 days. Each day ...
0
votes
2answers
5k views

How to set privilege to wordpress subscriber for private page

I am having private page.I want to show this page only when "subscriber" logged in."Editor" should not access this page.How can i set the privilege.
1
vote
1answer
323 views

Redirect non-admin users away from wp-admin/index.php (main dashboard page) to wp-admin/profile.php

I've set it so non-admin user can't see the "Dashboard" link or can't have access to the main "wp-admin/index.php" page. I've also added a plugin that restrict non-admin users from creating a new ...
16
votes
3answers
32k views

Allow member to have access to custom post type only. Permission to only edit their own posts

OK I'm looking for the best way to attack this. I'm very comfortable with PHP and making custom post types with custom meta fields in WordPress. Here is what I'm looking at doing: User registers ...
0
votes
0answers
24 views

How do I control the list of Pages an author can see?

Using one of the role managers,I enabled Authors to edit/create Pages). The edit/create pages screen shows a tree of all the pages in the system. Is there a way for (beside going into the core) To ...
0
votes
0answers
24 views

How to get permissions to read the post

I have a problem to make this kind of functionality within Wordpress. Three equal user groups: A, B and C. I have a list of all posts with different permission assigned to read them: posts open to ...
0
votes
1answer
32 views

Unique password to access a section site

I am working on a wordpress site. I am selling a digital course on it. Users interested in the course will pay locally via bank and send me payment details. So after I confirm their payment I will ...
3
votes
1answer
716 views

Copy a user from one WordPress site to another

Is it possible to copy a user from one WordPress site to another? I copied the record from the user table and all the related records from the usermeta table (12 records by default) but I think ...
0
votes
0answers
83 views

Using JWT to authenticate a user with an external system?

We have a WordPress application which is going to be linked with a parent system. We want to use JWT for authenticating with the parent. The idea is, if the user is not logged in on the parent, he ...
0
votes
1answer
105 views

Why does get_posts only show results for Admins or logged-out users?

I use a get_posts() call with these arguments: array(6) { ["include"]=> string(14) "1633,1634,1635" ["post_status"]=> string(3) "any" ["post_type"]=> string(10) "attachment" ...
0
votes
1answer
101 views

remove wp admin menu by customer user role

I have a custom user that i'm trying to minimize access for. I have a few admin menus in the toolbar that I'd like removed but only for this customer user role. I currently have it working for ...
0
votes
2answers
2k views

Create a User Role with permissions to only upload files to the media library?

Some of the employees at my organization need to be able to upload files to a folder and share a link with others. It’s primarily documents like pictures, pdf’s and Word documents. And instead of ...
12
votes
2answers
19k views

How do I create a custom role capability?

I wish to create a custom capability for accessing the interface of my plugin. Should the plugin manage adding this capability to all the administrator accounts on activation? If so: Does WordPress ...
4
votes
2answers
2k views

Only allow administrators and editors to access wp-admin

I am trying to restrict access to wp-admin so that only administrators and editors are allowed. At the moment I am using this function: function restrict_admin(){ //if not administrator, kill ...
6
votes
2answers
3k views

How to programatically change username (user_login)?

As in the title, how to programatically change user's login? I wanted to use wp_insert_user function, but it appears that when updating current user, it doesn't change their username. Should I use ...
1
vote
1answer
49 views

Set default page for user account in admin

I have set up an ecommerce site using wordpress/woocommerce and am now adding the users who will be dealing with the orders to the site. The only part of the site that they need to have access to is ...
4
votes
2answers
176 views

Allow anonymous user to access Themes Customizer

I created a theme and use Themes Customizer. Is there any way I can give anonymous users access to the themes customizer without the ability to save it? It will be very convenient in terms of user ...
0
votes
1answer
44 views

Username has been exposed

I am running a WordPress installation, I am using the theme created by my own. I haven't displayed any author related information in the theme. But I am getting server logs with ...
0
votes
1answer
188 views

How can I allow access to two user accounts using one login?

I have spent the last two hours searching for this and I cannot find a solution to my problem. I have a WP site with WooCommerce running which allows to users to create their own store. My client ...
0
votes
0answers
54 views

Client login area with gallery

I'm working on a website for my photography business, and I've been using smugmug's gallery management and sort of login tools (im a very tacky way) to give each client a login they could then use to ...
1
vote
0answers
28 views

Where are $current_user->allcaps set?

I recently found a problem with WP in which even the admin has no permission to get to anything on /wp-admin/. Oddly enough, when I compared the $current_user->allcaps to those on a normal site, I ...
2
votes
2answers
5k views

How can I hide media library images from general users?

As an admin I really like the features and functionality of the WordPress 3.5 media manager. With a multi-user site however all users can see all images in the media library - whether uploaded by ...
0
votes
1answer
77 views

How to List only the users created by a particular user

How can I list only the users created by any particular logged in user. Suppose,I'm a Subscriber and there are users already registered, I then added User1(as Associate), User2(as Subscriber). When I ...
2
votes
1answer
55 views

Let new user role to 'edit_others_posts' of other user role, not of its own type

In my system, I'm making two new roles: Third Party (TP) (lesser privileges) Data Entry Operator (DEO) (powerful over Third Party - but not of its own group) My CPT 'capabilities' parameter is ...
0
votes
1answer
181 views

Managing Users and Creating Groups [closed]

We're going to be transitioning from a small, outdated CMS that's no longer supported, to WordPress for our new CMS. Our old CMS allows us to restrict access on the back-end so that by default User A ...
1
vote
3answers
7k views

Add new media uploader at frontend for wp 3.5+

I create a form for user to submit content from the frontend. The only problem is I don't know how to handler the image upload. So, I want to know how to use the WP media uploader in the frontend. ...