Override user-edit.php to design own profile page

Depending on the scope of your project, I would recommend either using ACF (Advanced Custom Fields) which will allow you to create custom fields in your user based on their level, which you can then output into your theme. The outputting part though will require some coding knowledge to do. The other option is to … Read more

Modify Notification Message When Profile Updated

You will have to use a gettext filter as there are no hooks or filters associated with your request. function custom_user_message($translation, $text){ if(‘Profile updated.’ == $text){ $current_user = wp_get_current_user(); $foo_condition = ”; //Do some checking here for user custom field if(!$foo_condition) return $text.’ Custom Message’; } return $translation; } add_filter( ‘gettext’, ‘custom_user_message’, 10, 2 );

Solving a get_user_meta() problem in Multisite

The problem is that the idea of “the user of a specific subdirectory” doesn’t really exist natively in WP. There are sites (“subdirectories”), and there are users, and users can be associated with sites (through Roles and Capabilities), but there is no guarantee of a one-to-one correspondence. If you are running a network where users … Read more

Add a link back to site on ‘edit profile’ page for users?

Put this code in the functions.php file. add_action( ‘show_user_profile’, ‘my_show_extra_profile_fields’ ); add_action( ‘edit_user_profile’, ‘my_show_extra_profile_fields’ ); function my_show_extra_profile_fields( $user ) { ?> <h3>Go back to home</h3> <table class=”form-table”> <tr> <td> <a href=”https://wordpress.stackexchange.com/questions/56172/<?php echo home_url(); ?>” title=”Go back”>Home</a> </td> </tr> </table> <?php } Check this tutorial for more detail. You can put any mark up you want, … Read more