Linux 软件免费装

Better User Profile Fields

开发者 cardiganmedia
更新时间 2013年7月16日 14:15
捐献地址: 去捐款
PHP版本: 3.0.1 及以上
WordPress版本: 3.5.2
版权: GPL3+
版权网址: 版权信息

标签

profile user

下载

详情介绍:

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').

安装:

  1. Upload the betterprofilefields folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Visit your profile page to see the new fields.

常见问题:

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'

Changelog

1.0

  • Initial release