Questions tagged [profiles]

Standard WP user profiles contain information ranging from user name and contact information to display preferences.

Filter by
Sorted by
Tagged with
0
votes
1answer
49 views

I need a link that directs the user that is logged to his profile

I want a link in the form to an image in the frontpage, that direct the user that is logged to the subscription packages that are on its profile: The link look like this: https://mywebsite.co.uk/...
0
votes
0answers
17 views

Add Edit to the user avatar in the widget

We have a widget to display user profiles. I want to add an edit word like the following demo to the photo. Please help according to the code below. Thanks demo online: en.acgih.ir code: <div ...
1
vote
2answers
67 views

'profile_update' hook alternative for WooCommerce user meta data

I am trying to get all user details (including WooCommerce meta data) in a function that is called with user_register and profile_update hooks. This is the simplified code: function get_all_user_data($...
0
votes
0answers
13 views

Showing Posts of clicked on User profile

maybe you can help me (this is my first request so please be kind :) ). I use Ultimate Member and want a function to display the Posts of the current clicked User. For example the same as on Instagram ...
0
votes
0answers
14 views

How to create user's profile where he could add intresting for him posts?

Hello I want create an opportunity for user of my website to be registred and see in their profile added posts(airdrops), which they add while surfing website. Plus admin has to be able to see the ...
0
votes
1answer
64 views

Override user-edit.php to design own profile page

I have searched everywhere but can't find any relevant information on this. I want to rearrange fields on the User profile page (wp-admin/profile.php). Can anyone please let me know how can I make ...
0
votes
0answers
9 views

sync user profile photo with LDAP/Active

I am try to make intrenet for my company and I need to sync employee photo from LDAP/Active to come in wordpress user profile photo
1
vote
0answers
18 views

Allow logged in users to store and display some data

I have my website in wordpress, with Ultimate member plugin installed and letting users create their own accounts. What i want to achieve is to let logged in users click on a button that creates a ...
0
votes
1answer
25 views

how to create user profile pages and display them based on users roles

Example: I have a website with 3 different user roles (amongst others): *developers *designers *contributors I would like to have profile pages for users and would like to be able to display users on ...
0
votes
0answers
15 views

How to update user profile field on the checkbox change?

I have created a custom profile field in BuddyPress - single checkbox that is by default unchecked. I want to display this checkbox outside user profile settings page e.g. in the theme footer or ...
0
votes
0answers
27 views

User profile made easy plugin customization

I am using a plugin named "User profile made easy" plugin in wordpress to create a custom registration form in front end. this plugin provide custom fields for profile section. In the registration ...
1
vote
1answer
15 views

Prevent update of custom user profile meta field on the front end after 1st entry

I have an e-learning website that issues an official certificate of completion when a students complete their training course. The user profile name on the account can be used as the student name when ...
0
votes
0answers
9 views

Custom home page instead of profile page

I would like to display a custom welcome page when a user with a specific role is connected instead of profile.php page. I created a redirection. All work fine. function wpse_redirect_profile_access(...
0
votes
1answer
75 views

Gender based user avatar

I'm creating a matrimonial website. I want to set the user avatar based on the gender(I have a custom_user_meta for the user's gender) But I don't understand how to get the "user id" in order to use ...
0
votes
1answer
97 views

How to add required fields in user profile admin page?

I managed to add custom fields in the user profile admin page like this. The problem is when I add required="true" or required="required" on fields, the submit button do action without checking ...
1
vote
1answer
22 views

How to force field validation first, then its values saved durning edit profile?

I want to make validation of image during edit profile (wp-admin). My code for validation is: add_action( 'user_profile_update_errors', 'validate_steamid_field' , 10, 3); function ...
0
votes
2answers
121 views

wp_set_password() does not work!

I created a simple form for my users to can change their passwords. but there is a problem and I am confused! I tried a lot to change my password but my pass will not be changed by wp_set_password() ...
0
votes
0answers
25 views

Customizing the User Profile

I'm in the process of reproducing (copying) user-edit.php, line-by-line. When I echo text to the page: <?php $generic_message = 'Hello. This is a cute little message.'; // echo $...
0
votes
1answer
27 views

How can i display pagination in custom comment list?

I used this code to show latest comment list in user profile: in functions.php: add_shortcode ( 'show_recent_comments', 'show_recent_comments_handler' ); function show_recent_comments_handler( $atts,...
0
votes
1answer
141 views

How to position user meta data field

I have 1 additional field I want to display on the user profile page (mainly admin users will use this) I have done it but it is showing up at the very bottom of the page, I want it to sit in the ...
0
votes
0answers
103 views

How can i add user display name drop down menu in frontend?

How can i add user display name drop down menu in frontend? then user can choose preferred display name? In fact, I used this code answered here: How to edit a user profile on the front end? submit ...
0
votes
2answers
22 views

How to add locations input to user profile?

I want to display user's locations which they travelled on author box so how can I add this kind of input area to users profile? To more explain, If a user add "Londra,Paris" to own profile, these ...
0
votes
1answer
169 views

How to order custom fields in the user profile (admin area)

I’ve added a custom section to the user profile in my own theme. The section is called „Extra Profilinformationen“ for now and includes a field for twitter. It’s added to the bottom. Is there any way ...
0
votes
1answer
174 views

How to hide user profile fields based on the role of the viewed user?

I want to hide some default fields of the backend user profile page based on the role of the user whose profile is being viewed (by the admin in this case). I used the simple CSS way to achieve that (...
1
vote
0answers
19 views

How to retrieve current wordpress profile page URL?

I'm trying to allow users to export their own profile info to a CSV using a link on their profile. Everything works except the $url path of the link. Here's what I have: $url = $_GET['uri']; $nonce = ...
0
votes
1answer
106 views

How to create page for user?

I'm using author.php to display all user and their info. I would like to add a separate page like this : domain.com/users/user_name/ABOUT Is there a way to add a page (ABOUT) and retrieve info of ...
1
vote
0answers
20 views

Using the filters in wordpress theme [closed]

I have a member directory website created with Ultimate Member plugin, where I need to make the profile image height should be more than the width, but there is no option in Ultimate Member settings, ...
0
votes
0answers
15 views

Code correction - Hide a profile from visitors with a specific role

The following code i tried to hide the profile of subscriber's role of user not logged in but I need it to be visible to the administrator and shop_manager, how can I do it? add_action('bp_ready', '...
0
votes
0answers
26 views

Updating User Profile information removes image

I have a custom front end user profile form. When updating the profile without changing the profile's image it will remove the image. You have to reupload the image any time you update your user ...
0
votes
1answer
33 views

Is possible to modify user_login after registration?

I would like to give the user the possibility to update his profile via a profile.php page. But I noticed that the field in the database marked as user_login is not updated. I searched around and ...
1
vote
1answer
50 views

Custom taxonomy forms for user profile

I followed this excellent tutorial made by Justin Tadlock . I can't update profile, it doesn't save to user profile : add_action( 'init', 'create_profession_tax' ); $post_type = get_post_type(); ...
0
votes
1answer
155 views

Make user’s first and last name as user slug

I allow users to sign up with their first name, last name and e-mail addresses. I want to make their first and last name as slug. For example user first name is “John” and last name is “James”. The ...
0
votes
0answers
66 views

How to make custom user profile page public?

My website users can view their profiles and edit their profiles on a front-end custom page (/user/). How can I make the profile pages public? Page slug for user profile page is /user/ and profile ...
-1
votes
2answers
1k views

how to show all type of author posts in author page (SOLVED)

my site have multiple authors. I need to show all type of author posts in author page that if visitors can see all posts of author when visitied his profile page. this code <?php get_header()...
0
votes
1answer
134 views

Update a user profile via frontend

I'm very new to WordPress so I have a simple beginner question. I've added some custom user fields on the admin form with the action show_user_profile, edit_user_profile, personal_options_update, and ...
2
votes
1answer
31 views

How can I default to all WordPress roles when parameter is not included in shortcode?

I am trying to set up a generic shortcode in WordPress with parameters for user meta key, meta value and roles that will count the total number of profiles that include certain values. So far I have ...
0
votes
0answers
84 views

profile_update hook does not fire from front-end

I'm using BuddyPress to allow users to log in on the Front end. Once logged in, they can click on 'My Account'. On this page they can upload avatars, edit their account information, etc. When I ...
0
votes
1answer
184 views

Wordpress add_rewrite_rule redirection match GET variable not passing through to custom template

My target: Create a page template in theme (page-expert.php) following the guide Page Templates. Create a blank page with the template. The above page will show the profile information for certain ...
1
vote
1answer
96 views

Author profile visitors in last 7 days in front end without plugins

I'm searching every day and every hour and every minute for a way to track a very simple stat for each author profile to display profile visits by IP and display them as a counter (e.g. 254 profile ...
0
votes
1answer
550 views

how to save multiple checkbox in usermeta and get it?

I want to create a new part as multiple checkbox in user profile page that user can check their services. But the issue is i do not know how to display the checked options after saving as checked ...
0
votes
1answer
857 views

How to save multiple custom user profile fields using repeater JQuery

I'm trying to create a multiple custom user profile fields to allow our users adding more software skills in their profile page. The problem I'm facing is it always saving only one meta for "skills" ...
1
vote
1answer
36 views

Add custom profile field only for site admins?

I am trying to add a custom field called Company to all site admins on my network. And disable this field for every role which hasn't got the capability to create_users. This is what I have come up ...
0
votes
1answer
162 views

Editable registration date field in user profile

I'm using this code to display in the user profile backend a field that will show the registration date of the user. When I change the date and hit save, the registration date wont change, it will ...
0
votes
1answer
474 views

How to create front-end (editable) Wordpress user profile pages?

So I am using Gravity Forms to create registration and login forms. But after the user logs in, I want them to be able to see a custom front-end profile page instead of the default Wordpress user ...
0
votes
1answer
209 views

Is there a possiblity to replace profile image gravatar with custom user images

Is there any possibility to replace gravatar session in profile page with an custom image with their image. Which can be uploaded from their PC while creation of the account is is possible to do with ...
0
votes
1answer
227 views

Following/Followers Users list Using Ajax Pagination inside Author Profile

I will try to be clear, I'm using "Users Following System" plugin. And I added a list of the following/followers users into the author.php profile, now I'm trying to use Ajax pagination. For sure ...
1
vote
1answer
65 views

Modify user profile data through scripting?

I'm developing a site which will have various Unity games hosted on it, and I want to be able to record the scores the users get in their profiles. I've seen various plugins for adding custom fields, ...
0
votes
1answer
86 views

Creating User Profiles using author.php

I am trying to create a user profile template using author.php. However, the template remains blank if I try to see the profile of a user that has not created any posts. www.website.com/author/user1 -...
0
votes
0answers
29 views

Which membership plugin enables users to enter html links in blogs and on their profile page?

I would like to make a community that enables users to have a nice profile page that enables them to put html links. I tried several plugins as Buddypress, ultimate member, profile grid etc. But they ...
2
votes
1answer
1k views

Removing WordPress profile fields from non-admins

I want to remove the Display name publicly as option from non-admins in WordPress edit profile page. How is that possible? if ( ! current_user_can('manage_options') ) { #remove the above } In ...

1
2 3 4 5
7