跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

User Social Fields

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

User Social Fields

作者:aliasbdi
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

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)

评价

此插件暂无评价。

贡献者及开发者

「User Social Fields」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • aliasbdi

帮助将「User Social Fields」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.1

  • Enabled shortcode use in text widgets.
  • Allowed uppercase field names.

1.0

  • Added Vine and Vimeo fields.

额外信息

  • 版本 1.0.1
  • 最后更新:12 年前
  • 活跃安装数量 10+
  • WordPress 版本 3.0.1 或更高版本
  • 已测试的最高版本为 4.0.38
  • 语言
    English (US)
  • 标签
    networkingseosocialuseruser profile
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • aliasbdi

支持

有话要说吗?是否需要帮助?

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.