Linux 软件免费装
Banner图

Plugin Name

开发者 aliasbdi
更新时间 2014年9月18日 00:31
捐献地址: 去捐款
PHP版本: 3.0.1 及以上
WordPress版本: 4.0
版权: GPLv2 or later
版权网址: 版权信息

标签

seo social facebook flickr twitter vimeo youtube instagram pinterest user linkedin gplus user profile networking vine tumbler

下载

1.0 1.0.1

详情介绍:

The User Social Fields plugin will allow users to add their social networking accounts to their user profile. Then, using a shortcode, a list of the user's social web site links will appear on the page. The user can be specified or magically set (when viewing a page or single post). Additionally, the shortcode allows you to choose which social web sites to list and in which order.

安装:

  1. Upload user-social-fields to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place the shortcode where you want the list to appear by using <?php do_shortcode('[userfields]'); ?> in your templates or [userfields] in your post content.

常见问题:

How do I set the user?

In the shortcode, add the attribute "user" with a value of either the user's id or login (example: [userfields user="johndoe"]).

How do I specify the user fields?

To specify the user fields to display, use the attribute "fields" in the shortcode with no spaces and separate them by commas. For exmaple, [userfields fields="facebook,gplus"] will only display Facebook and Google Plus.

What if the user has not set their user fields in their profile settings?

If the shortcode requests a field that the user has not set, it will not display.

How do I sort the user fields?

In the shortcode, you can specify which fields to display. In doing so, the fields will be listed in the same order you specifiy them. For example, [userfields fields="youtube,gplus,facebook"] will list the fields in this order: YouTube, Google Plus, Facebook.

Do I have to specify the fields to display?

No. If the "fields" attribute is unset, all social fields will display in alphabetical order.

What fields are available?

The following fields are avialable to display (and their field strings are in parenthesis): Facebook (facebook), Flickr (flickr), Google+ (gplus), Instagram (instagram), LinkedIn (linkedin), Pinterst (pinterest), Tumbler (tumbler), Twitter (twitter), Vimeo (vimeo), Vine (vine), YouTube (youtube)

更新日志:

1.0.1 1.0