summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authordaniel g. siegel2014-02-04 23:51:28 +0100
committerdaniel g. siegel2014-02-04 23:51:28 +0100
commit09131108b366c5b872b57f139c6bd480e1dfb5c6 (patch)
treeb49c4e38c9fc58e32579287761b31409a99a598f /functions.php
parent6195c47b295660f7ac8ae9f4fa1193e766f3fdf1 (diff)
downloadwp-remulus-09131108b366c5b872b57f139c6bd480e1dfb5c6.tar.gz
wp-remulus-09131108b366c5b872b57f139c6bd480e1dfb5c6.tar.bz2
wp-remulus-09131108b366c5b872b57f139c6bd480e1dfb5c6.zip
add social media contact methods to user profile
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index b809bae..81a87e5 100644
--- a/functions.php
+++ b/functions.php
@@ -48,3 +48,14 @@ function remulus_paging_nav() {
<?php
}
endif;
+
+
+function remulus_modify_contact_methods($profile_fields) {
+ $profile_fields['twitter'] = 'Twitter Username';
+ $profile_fields['facebook'] = 'Facebook URL';
+ $profile_fields['linkedin'] = 'linkedin URL';
+ $profile_fields['xing'] = 'xing URL';
+
+ return $profile_fields;
+}
+add_filter('user_contactmethods', 'remulus_modify_contact_methods');