Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

Wordpress 6.7 - You are not allowed to list users during API call

I am trying to get a list of all users (not just authors). I have the below script in Codeigniter 4: class WPUserModel extends Model { protected $wordpressApiUrl = 'https://blog.example.com/wp-...
spreaderman's user avatar
1 vote
0 answers
21 views

Removing user removes user meta?

Sorry for the basic question, but I couldn't find an answer by reading the docs. When we delete user in the WP admin area, will WP delete the associated user_meta too?
Life after Guest's user avatar
0 votes
1 answer
29 views

Default Usermeta Entries for every newly created user?

we have a Buddyboss page running with 30k users. Our usermeta Table is growing fast because of a few plugins we use which all seem to write a lot of settings to it. I try to remove as many obsolete or ...
tim's user avatar
  • 164
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
1 answer
52 views

Can a user submit requests to wp-admin/admin.php without logging in?

I have a site that has a malicious link being injected into it which causes every page of the site to be clickable and go to random sites. The script is being injected through the WPCode plugin which ...
Timothy Fisher's user avatar
2 votes
1 answer
135 views

Redirect Login Based on User Role

I'm currently using the following code to add a login form to a page. How can I redirect users after they have logged in based on a custom user role. function my_login_form() { $args = array( ...
Jon's user avatar
  • 325
0 votes
1 answer
35 views

Force Profile link for username, and stop "Website" field on Profile from becoming offsite link atop Comments, in "Recent Comments" list, etc

I've noticed that if "Website" is filled in on a user's Profile page, then the link formed around the username of that user will often (not always) point to that offsite link instead of to ...
S. McCandlish's user avatar
0 votes
0 answers
14 views

Can Authors detach a syncd pattern?

As an admin I can create syncd patterns, and when I have added one I can "detach" it into its constituent blocks - so it essentially becomes unsyncd. I thought other users could also detach ...
Peter Cooper's user avatar
0 votes
1 answer
97 views

How to allow Contributors to edit their own posts, whilst still needing to be reviewed by an admin?

Im using the User Role Editor plugin to try to acheive this, but I've also tried PublishPress Capabilities and had the exact same problem. I'd like it so that my contributor users work like so: Their ...
user303096's user avatar
0 votes
0 answers
58 views

TYPO3 to Wordpress Migration (Users)

I got a problem with migration from TYPO3 to Wordpress. We got like 4.000 Users in Typo3 and want to migrate them to Wordpress. Typo3 uses BCRYPT Password Hash, and Wordpress PHPASS. I’ve changed the ...
user243602's user avatar
0 votes
1 answer
19 views

Will users still be able to log in if I change host?

The title says it all. I am taking over a website from somebody who lives in another country and will host it in the UK. Once the migration process is complete (moving it from their host to mine), ...
Mus's user avatar
  • 119
0 votes
1 answer
71 views

Is there a way to resend confirmation emails?

The title says it all. There are several users who have registered but have yet to confirm their email addresses. Based on their unique email domains, I suspect that the majority of unconfirmed ...
Mus's user avatar
  • 119
0 votes
1 answer
58 views

How to use 2 different databases but share the same user in wordpress

I have 2 wordpress websites on the same server, one is bloo.com and the other is forum.bloo.com. each site has its own database, they have their own wp_content, each has its own file separately, but I ...
Mike's user avatar
  • 1
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
2 answers
1k views

WordPress user password reset not working

I have additional users set up on my WordPress site. One of the other users has asked me to reset their password as the 'forgot my password' function doesn't work (a reset password email isn't ...
MartyB's user avatar
  • 1
1 vote
1 answer
92 views

redirect to my login page if not logged in

When a customer wants to leave a review on the product page, they are prompted to log in if not. Do you have a proposal to send the customer to the a specific login page and then return once logged in?...
Yves's user avatar
  • 11
0 votes
0 answers
15 views

Add a product for all users based on a condition (WooCommerce)

Hello everyone in my wordpress website, I want to add a product to all users based on a condition, I mean if a condition is true I will inform specific users and then add the product for them, how can ...
Mahdi Ali's user avatar
0 votes
1 answer
106 views

wp_authenticate_username_password not authenticating properly when pass username and password

I am developing custom login page and want to login through username and password. To authenticate user, i am using this function wp_authenticate_username_password() $usr_user = ...
Utkarsh Saxena's user avatar
0 votes
1 answer
27 views

How to allow users in wordpress to switch between two assigned roles e.g. Candidate & Employer

I am using Careerfy Theme for wordpress which is basically a job board and has Candidate and Employer User roles set for new registrations. I want registered users to be able to switch between these ...
Job Hunt Community's user avatar
1 vote
0 answers
144 views

How to "attribute all content to" specific user once delete user in wordpress

I have a question about how to attribute all content to specific user once delete any user in Wordpress. Is there any idea how could I disable "Delete all content" option and set as default ...
lampros stasinos's user avatar
0 votes
1 answer
20 views

How is user visits calculated

the users screen includes the column 'visits'. It lists the number of visits but I would like to know how it is calculated?
Horatio's user avatar
0 votes
0 answers
80 views

How can I display different menu for logged in users using a block theme

I am trying to display a different menu for the logged in users. The problem is that the classic wp_nav_menu_args filter does not work for block themes. Or I can't make it work. Does anybody know how ...
GKaplan's user avatar
0 votes
1 answer
138 views

Email notification when registred user clicks a link/visits page

Wordpress- I need to get an email which signed up user visited/clicked on link/button/or visited specific page. Email needs to tell me at least their username, or something from sign up form from User ...
Andrej Chalas's user avatar
0 votes
1 answer
86 views

Redirect WordPress page to the latest created post by the logged in author/user

I have a basic WordPress code that redirects someone to the last post type created on the site, in this case is the "case" post type: <?php /* Template Name: Redirect */ $args = ...
Sean Bagheri's user avatar
0 votes
0 answers
20 views

Condionally/limited emails from system (cantact-form, registration, passwd reset)With

With: add_filter( 'wp_mail_from', 'my_mail_from' ); function my_mail_from( $email ) { return "[email protected]"; } add_filter( 'wp_mail_from_name', 'my_mail_from_name' ); function ...
kornholio's user avatar
0 votes
1 answer
77 views

Does Wordpress Super User or Administrators can create and edit post and media on behalf of a user

For my project I need to administrate user post and media without access to it personal account. So I must be able to create and edit a post (by is user name) before or after it has been created on ...
imagIne's user avatar
  • 105
0 votes
2 answers
13 views

Transform user name before displaying

Users are created whith name in upper case on my site, but some admin want to display it in lower case. I had a custom field in user profile to identified those admin, but I don't know what hook I can ...
Jean-Christophe Barrez's user avatar
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
40 views

Group users by meta field, with name of meta field as group title

I'm creating a employee photo directory based off users from my site. I'm trying to add front end filtering for this query and I have it mostly working. What I'm trying to accomplish is to sort the ...
NW Tech's user avatar
  • 707
0 votes
0 answers
31 views

Search results not finding in paginated pages just in visible rows

I created this plugin to display a list of registered users with the Faciliator role. Displays the list in a table with name, country and avatar as titles. It works fine but the search box only ...
Artus's user avatar
  • 92
0 votes
1 answer
21 views

Only registered users can see part of the contents of single.php

On my wordpress blog, I want a part of single.php to be visible only to registered users. For example: /code/<?php the_title(); ?>/code/ Is there a function that works on a php basis? What ...
GbR's user avatar
  • 1
0 votes
1 answer
80 views

Add custom css to specific user

I need help with something for my wordpress site. I want to add custom css to a specific user. For example, user B. but I couldn't do it. Here I tried the following css code: div [user="id"] ...
ByWorld's user avatar
0 votes
2 answers
414 views

Add Additional Column in "Users" Dashboard Area - BP Extended Profiles (WordPress)

I have a site with extended profile fields. I can't find the particular way of adding an additional column as: Username | Name | Email | Site Role | Discord (this is the additional column) The ...
Shoaib Qazi's user avatar
0 votes
1 answer
20 views

Buddypress: "Auto load" specific usermeta in WP?

I have a Buddypress membership page, and for specific customizations I need a few usermeta fields being loaded all the time, for the currently logged user as well as (in case any) the displayed user-...
tim's user avatar
  • 164
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
1 vote
2 answers
825 views

Users as team members through a loop in elementor

I am trying to create a loop in Elementor's theme builder that will display each user with the role of the Contributor or Author. I.E. When the admin of the website will add a new user with the above ...
Andrei Dombrov's user avatar
0 votes
1 answer
62 views

Allow Html pages for users with specific roles

On my website there is, beside my WordPress installation, a folder full of html files. I need to protect them using the WordPress user authentication system. The policy is simple: if you have a role, ...
Manaus's user avatar
  • 101
0 votes
2 answers
326 views

Can we get user profile page using user_id in the URL?

The current default profile page is like example.com/user/johndoe. But can I access the page via example.com/user/?user_id=21 where 21 is johndoe's user_id.
ratib90486's user avatar
0 votes
0 answers
16 views

Issues with creating user profile for a subscriber, but with different profile page and functionalities

I am building a website where two types of subscribes have to register and get access to a profile page: Volunteer Person in need I attempted to do so, but the person in need user profile still ...
Asemai Kauas's user avatar
0 votes
2 answers
906 views

AJAX call not initializing for non-admins in WordPress

I developed my ajax functionality while using a WordPress admin account and everything worked correctly. Testing as a user, however, I cannot get the functionality to call - and pressing the "...
jgdhnds's user avatar
0 votes
1 answer
455 views

Wordpress: New user role which is ONLY allowed to manage media

I would like to have a new user role (or restrict a role which is already available from Wordpress) which can only manage media (upload, delete pictures etc.) in the wordpress backend - every other ...
Lothar's user avatar
  • 3
0 votes
1 answer
258 views

Sorting Users page admin column with ACF field

I have a CPT called Companies. I created an ACF relationship field called user_company that gets displayed in the Users profile page. When a user registers, I have to go in and assign them to a ...
Amy Ling's user avatar
0 votes
1 answer
74 views

Change a subsite Admin role of a WordPress Multisite after 24 hours registering

change WordPress multisite users' role after registration. function woo_admin_to_editor($blog_id, $user_id) { switch_to_blog($blog_id); $user = new WP_User($user_id); if ($user->exists()) { $...
Raphael Oluwasanmi's user avatar
0 votes
0 answers
197 views

Unable to retrieve Users (Not logged in) through WP Rest API

We are able to retrieve Rest API results of our WP database, running a Learndash plugin. We can retrieve details while not logged into the WP site, although limited (10 records or so). While logged in ...
Matthew Wragg's user avatar
0 votes
1 answer
175 views

How to add custom user role into wordpress

I added this code snippet to my function.php to create a user but after logging with this role I'm unable to edit the learndash course lessons quizzes... add_role( 'learndash_content_manager', '...
Masroof Ahmad's user avatar
0 votes
0 answers
515 views

Can't retrieve user email address with REST API

I would like to retrieve the email address of an user by id with the REST api from Python. The problem is I don't get the email in the JSON from the two calls I added below. Based on the docs it ...
rihekopo's user avatar
  • 101
0 votes
1 answer
101 views

How to handle Wordpress account for terminated employee

An employee was terminated and I want to know the best way to handle this individual's Wordpress/Woocommerce account. He was in the Shop Manager role and he mostly worked doing order fulfillment. I ...
shaune's user avatar
  • 101
0 votes
1 answer
21 views

Some data of one custom user profile is erased when I update another custom user profile

I have some problems with custom user profil. I Created 2 différents user profiles : one is calld "particulier" the other is called "entreprise" You can see the code below. The ...
Timama's user avatar
  • 3
1 vote
0 answers
77 views

How to create a User Role and give permission to only use Web Stories plugin?

I want to create a new user role "Story Maker" with only the "Google Web Stories" plugin shown in the dashboard for the user to create and publish stories. I don't want the user to ...
Frankie's user avatar
  • 11
0 votes
1 answer
84 views

How to authenticate/verify login credentials & check for user meta without logging in?

I have custom login form and i used wp_signon() to authenticate. However, i wanted to run an additional check for usermeta and if the user has account_status === pending, throw an error or or prevent ...
CruzZ's user avatar
  • 11

1
2 3 4 5
42