Adding Author Fields to the Author Profile in WordPress

<?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);
If you can remove something, you can also add it. Here’s a code that adds truly important input boxes to your author profile.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.