Apraksts
Adds new user profile fields, including Facebook, Twitter, Google+, Deviant Art and Tumblr. These new fields can be used in your template with get_author_meta(”)
For example, to add the Google+ URL you would use get_author_meta(‘googleplus’).
Uzstādīšana
- Upload the betterprofilefields folder to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Visit your profile page to see the new fields.
BUJ
- How can I add links to the profiles in my template?
-
Use the following sample in your template to link to the profile. Add this part, enclosed within PHP tags, to the link part of your URL.
get_author_meta(‘googleplus’);
In the above example you’ll replace ‘googleplus’ (as well as the link text) with the name of the profile field. Here’s the full list:
- Facebook = ‘facebook’
- GooglePlus = ‘googleplus’
- Tumblr = ‘tumblr’
- Twitter = ‘twitter’
- Deviant Art = ‘deviantart’
- LinkedIn = ‘linkedin’
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Better User Profile Fields” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Better User Profile Fields” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0
- Initial release