wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Add & display custom profile info

wordpress snippet

Adding the first block of code to the functions.php of your wordpress theme will add a new field “address” to the user profile. You can get and display this field using get_the_author_meta() and would display it within the page like so echo $auth->address. You can create new fields by duplicating the code in the example.

read more