Articles of profiles

How to add local users to wordpress without email password?

I want to organize my posts with random names.Each post will have many authors (those are not actual/real authors).So i do not want to give them any email or password to log in. Actually,i am trying to make project lists and each project has many contributers and each contributer can work on many project.i use […]

frontend user with custom profile pages

i am building a website where the frontend users can register and they need to have custom profile pages – not the standard WordPress backend pages that the admin sees. There they can see their profile (image, name, email, …) and change it, as well as some site specific pages like: statistics, severals lists, … […]

Calling custom profile fields?

I’ve hidden and created various profile fields using the following code: function my_user_contactmethods($user_contactmethods) { // You can get rid of ones you don’t want unset($user_contactmethods[‘jabber’]); unset($user_contactmethods[‘yim’]); unset($user_contactmethods[‘aim’]); unset($user_contactmethods[‘googleplus’]); unset($user_contactmethods[‘url’]); unset($user_contactmethods[‘twitter’]); // And add any news ones. The array key is the meta key name, the text // is however you want it labelled — keep […]

BuddyPress – Hook to Update Custom Profile Fields

I am working on custom app for a client that requires some extra fields in the user’s profile. I have successfully created a registration page that saves the custom fields and now I need to do the same for the “Edit Profile” page. The function that I used to save the custom fields on registration […]

Is there any function available to echo current user's profile url?

As of now i’m using this code to echo user’s profile url. <?php echo esc_url( home_url( ‘/’ ) ); ?>user/<?php echo $current_user->user_login ?>”><?php echo $current_user->user_login ?></a> This link uses author base as “user”. So when i change author base this link will be broken. IS there any function available like current_user_profile_link() ?

Get attachment ID of author_meta image – Attachment Metadata

I’ve created a custom field in user profile where upload a profile image. It’s very simple. To create fields I’ve used: add_action( ‘show_user_profile’, ‘cover_image_function’ ); add_action( ‘edit_user_profile’, ‘cover_image_function’ ); function cover_image_function( $user ) { <h3>Cover Image</h3> <style type=”text/css”> .fh-profile-upload-options th, .fh-profile-upload-options td, .fh-profile-upload-options input { vertical-align: top; } .user-preview-image { display: block; height: auto; width: […]

Saving custom profile fields

I’m adding a custom profile field to users of a specific role, like this : function add_custom_profile_fields( $fields ) { // get current user ID $user = new WP_User( $_GET[‘user_id’] ); // get current user role if ( !empty( $user->roles ) && is_array( $user->roles ) ) { foreach ( $user->roles as $role ) { // […]

How to do an event when any user updates their profile?

I want to call a function, whenever any user update their profile. How to do that?

Remove toolbar option (and set to default to no) in user profile

I don’t want users to be able to choose to display the admin bar/toolbar when they log into wordpress. It doesn’t have a function for those users. Instead I would like for admin users to have the toolbar shown by default and anyone else to have the toolbar hidden by default. I can do this […]

List User Comments on User Profile BuddyPress

Does anyone know if there’s a way to create an option on the BuddyPress user profiles where it can list the users’ comments, so that the user can see a list of everything they commented on. I searched to find a plugin, but came up empty-handed.