Skip to content

Instantly share code, notes, and snippets.

Created January 20, 2016 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/23edcd5d86695dae80d3 to your computer and use it in GitHub Desktop.
Save anonymous/23edcd5d86695dae80d3 to your computer and use it in GitHub Desktop.
<?php
function ah_new_contactmethods( $contactmethods ) {
// Add Twitter
$contactmethods['twitter'] = 'Twitter';
//add Facebook
$contactmethods['facebook'] = 'Facebook';
return $contactmethods;
}
add_filter('user_contactmethods','ah_new_contactmethods',10,1);
@junias91
Copy link

junias91 commented Sep 19, 2016

wie gebe ich die neuen Felder in meinem Theme aus?

twitter; ?>

Funktioniert bei mir leider nicht

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment