Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

How to remove/limit Editor accounts privileges, to prevent them from deleting media and pages created by Admin

How can I remove (or edit) Editor account privilege's, to prevent Editor accounts from making any changes to things Admin accounts upload or create? For instance, Prevent Editors from deleting/...
Omar Juvera's user avatar
0 votes
0 answers
46 views

Allow users to edit post without logging in

I'm working on a site where non-logged in users are able to submit their posts. It's easy to do on front end, however, when the posts need to be edited, it's a completely different story. So, is there ...
Sam1501's user avatar
  • 11
0 votes
1 answer
224 views

Wordpress change role from administrator to author by itself (automatically)

do anybody know this kind of phenomenon? I do not have any user managing plugins installed in my WP, but after some interaction e.g. editing pages or creating postings (its not matter) WP changes for ...
RestAPPDev's user avatar
0 votes
1 answer
100 views

(How) does WordPress protect direct access of user data?

I am setting up a WordPress with a user system. User information (names, profile picture) of all users should be private, and only accessable when logged in. The "Ultimate Member" plugin ...
M.G.Poirot's user avatar
0 votes
1 answer
363 views

WordPress password as plain text in email

I am working on a project and we need to send users current passwords when they log in. So the only option is to the use the password reset feature when the user enters the email, an email will be ...
Sannan Malik's user avatar
19 votes
4 answers
31k 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 $...
Mateusz Hajdziony's user avatar
0 votes
1 answer
248 views

MySQL query to list users who never signed in

What MySQL query can I use to get a list of users who have never logged in to WP? Some background... My WordPress website has been running since 2015 and initially, I had a newsletter form that would ...
Lazhar's user avatar
  • 183
6 votes
1 answer
14k views

Hide Admin Menu for Specific User ID who has administrator Role

I am trying to hide almost every single admin menu from wordpress dashboard for a specific user id who has administrator role. I want to give that user only option to edit a certain custom post type ...
Md. Amanur Rahman's user avatar
1 vote
1 answer
94 views

How do I count the number of pages a user has seen on my site, and force them to log in after a certain amount

I'm looking to write a little function that counts how many pages the user has clicked through in this section. When it gets to a certain amount, I want to prompt them to log in and prevent them from ...
DJZEEGLER's user avatar
  • 119
0 votes
0 answers
34 views

Multisite Login Access Restrictions

I am building a multisite where users can sign up to create a subsite about there business. I would like to have them be able to login to the backend and edit there subsite but restrict them from ...
Daemon's user avatar
  • 1
0 votes
1 answer
88 views

How do you manage your pages or functions that require logged-in users?

I'm having more functions and pages that require my users to be logged-in. Below is what I have in each of my functions, kind of a hassle to keep repeating this code. $user_id = get_current_user_id(); ...
ratib90486's user avatar
12 votes
5 answers
27k views

How to restrict access to uploaded files?

I have a restricted area on a website that can only be accessed by logged in users. For that I created a page template with a 'current_user_can()' condition. My problem is that the documents attached ...
mike23's user avatar
  • 6,029
2 votes
2 answers
5k views

Can you have multi-site WP and keep users separate?

I'm aware that multi-site exists but I've never used it. Could I use it in a type of reseller mode, where I ran one install of WordPress but provided completely separate sites for separate users? ...
AmbroseChapel's user avatar
1 vote
0 answers
2k views

wordpress user roles are not working

I have never assigned or used a role before on this site, I have just created a new user role with plugin "user role editor" and also assign an editor Role to other account, whenever I log ...
Rehab Ahmad's user avatar
2 votes
1 answer
1k views

Check if someone is editing a post (this content is currently locked)

I'd like to create a kind of auditing. How can I check if an user is modifying an article? Is there a db query I can do to achieve this task? I've found the following solution but I wonder if there ...
Revious's user avatar
  • 323
0 votes
1 answer
536 views

Update user role for expired membership

Is it possible to use a function in functions.php that would automatically change user role when a membership goes from status "active" to "expired" ? For example : if an active ...
nevax's user avatar
  • 1
7 votes
4 answers
17k views

Allowing users to edit only their page and nobody else's

We currently have about 50 pages, each of which I want a user (eg, bob, rob, smith) to be able to edit only 1 page. For example, bob & smith each have their own page. I do not want bob to be ...
zealeus's user avatar
  • 73
7 votes
1 answer
18k 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 ...
luqo33's user avatar
  • 248
1 vote
3 answers
6k views

How to create user groups and allow custom posts and plugin modify/access to specific group?

I am looking for plugin or is there any method/function to create user groups and give an access them to modify/access.
Mahesh's user avatar
  • 31
0 votes
1 answer
37 views

Is there a plugin for Wordpress for creating 'Accounts' where all users who belong to that Account can only see Account data? [closed]

Is there a plugin for something where I can group users into an 'Account' and then one particular Account is restricted to seeing only content targeted to that group (therefore a user would need to be ...
fakeguybrushthreepwood's user avatar
1 vote
2 answers
1k views

remove/hide pages from users backend

I'm using this code in functions.php to hide/remove some pages from custom users backend and works well, but how can I reach to hide the subpages as well? add_filter( 'parse_query' , '...
mesu's user avatar
  • 11
3 votes
3 answers
1k views

Can I create users that have access to *some* other users posts instead of all other users posts?

I’ve been using basic user rights functionality on a multi-user WP site for a while and its worked out great, having most user accounts just have access to their own posts but a few “editors” having ...
AdamJones's user avatar
  • 328
-1 votes
1 answer
891 views

Limit user access to installing/configuring a plugin?

I'm hiring a freelancer to install a plugin for me and setup a few of the plugin's more complicated settings. I don't know him personally and would like to limit his access, as there is sensitive ...
Nathan's user avatar
  • 1
-1 votes
1 answer
2k views

file upload user profile

I am working on a medical reporting site in wordpress, where the requirement is that admin can upload a seperate .pdf file to different users' profile & only the profile owner can download it
user141987's user avatar
1 vote
0 answers
377 views

Good way to block users within a multisite setup without deleting them?

This is probably a common problem with multiple possibilities to solve. However I am asking for an easy solution as I guess I am not the first one to have this problem. Assume we have a huge company ...
Blackbam's user avatar
  • 565
0 votes
2 answers
10k views

Custom user profile, registration, login page with theme

WordPress user profile page uses the administration interface, and its user registration / login page is not part of the theme. I would like to change it into the custom theme of my site customize ...
He Shiming's user avatar
0 votes
1 answer
1k views

Can I Create a Second Admin Level User Role?

I want to create a second User Role, which has the same priveleges like a Admin User Role. This way I can use the Adminimize plugin to disable some features there. I'm trying to have a User Account ...
Arne De Belser's user avatar
3 votes
0 answers
746 views

How to customize wp_signon()

I am trying to get a customized sign on process. The features that are absent in WordPress by default are the following: Allow user to choose a password at the time of registration. Allow user to ...
Srihari's user avatar
  • 224
4 votes
1 answer
13k views

Check if specific username is logged in

How can you check if specific username is logged in?
Shae's user avatar
  • 731
4 votes
1 answer
881 views

Basic auth WordPress REST API dilemma

Today I tested Basic Auth for the WordPress REST API and it worked perfectly. However, I heard this was a dangerous way of authentication. This is understandable, since people can look into JS files ...
Jayce's user avatar
  • 43
1 vote
0 answers
470 views

Subsite access without being a member of the subsite in wp multisite network

How can a user access a subsite without being the member of that subsite in a wp multisite network? What I understand is that a user can not access a private post in a subsite if he is not the ...
bakar's user avatar
  • 101
1 vote
0 answers
360 views

Reset Password policy

Looking for to add reset password policy. Password specifications : 12 characters in length, 1 uppercase letter, 1 lowercase letter, 1 number, and 1 special character. I find a hooks for manage ...
Samuel's user avatar
  • 354
0 votes
1 answer
809 views

Delete a user from frontend

I'm developing a user management table, in which an user (I've already set restriction for for some specific roles) can create/edit or delete a user. How can I delete a user by clicking on delete link ...
Akshat's user avatar
  • 1,197
1 vote
2 answers
1k views

Hide everything on site for visitors except specific page IDs

I have a client who wants to close down access to the entire site, every post, category page, archive etc (while keeping the content), except for three specific pages (Start, about us, contact). None ...
talven's user avatar
  • 103
2 votes
1 answer
6k 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 ...
j08691's user avatar
  • 785
1 vote
1 answer
21 views

Displaying different in-page content to cliente/admin

i'm a young informatic engineer student who is developing his first wordpress website. It is a booking website when a client can see the available hours in certain local and book it, and the local can ...
javier romero's user avatar
0 votes
0 answers
1k 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 on ...
j08691's user avatar
  • 785
1 vote
0 answers
115 views

Problem with automatic role change through cron job

I have a function called by a daily cron job that automatically changes the role of users after a period of time. The 1st role update should happen 120 days after registration, and a 2nd role update ...
Cyrille Kriegel's user avatar
2 votes
1 answer
2k 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 ...
trustfools's user avatar
-1 votes
1 answer
1k 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 ...
Pavnish Yadav's user avatar
-2 votes
1 answer
936 views

One folder to be accessible by one user

so I am making wordpress website and the idea is that I want to upload different files for the different users but I want the user to see only his files.The problem is that when I copy the url that ...
George Dimov's user avatar
0 votes
0 answers
93 views

Users getting linked unwanted to main mu in WordPress multisite (WPMU)

Sometimes in WPMU a user from one of the networksites gets linked to the main mu as well. It seems to me like it is completely random and very rare so I cannot easily simulate this. It's easy to just ...
Maartje's user avatar
  • 547
0 votes
1 answer
50 views

restrict admin panel sections to users

I have found out how to disable wordpress admin menu items from users other than administratos. What I would like to achieve now is every user can access only his user page (only "Your profile") and ...
dvn22's user avatar
  • 1
3 votes
1 answer
2k 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 ...
Nelu's user avatar
  • 197
0 votes
1 answer
614 views

throttle/limit a logged in user's http requests to specific page on a per day basis

I have a resource on my WordPress page that I only want to show X times per day per logged in user. I'm using the twenty sixteen WordPress theme. Currently, Guests / visitors / non logged in users ...
Peter Noges's user avatar
6 votes
2 answers
1k 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 ...
NetConstructor.com's user avatar
3 votes
1 answer
3k 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:
Matt's user avatar
  • 1,131
0 votes
1 answer
175 views

Allow admins to login as other users

My question is about WordPress in general. How can I give admins the ability to log in and do things that other users can do? My specific use-case for this is, in WooCommerce, when an admin creates ...
Jon's user avatar
  • 325
1 vote
1 answer
367 views

How to disable a specific page for a specific user

For say, I have this page https://www.website.com/courses/wp-admin/admin.php?page=wpProQuiz&action=delete&id=1 I want to disable this page for the username remo. How can I do this?
Pravin Nath's user avatar
4 votes
1 answer
12k 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 ...
Demilio's user avatar
  • 883