Linux 软件免费装

User Social Profiles

开发者 limestreet
更新时间 2018年12月11日 18:20
PHP版本: 4.0 及以上
WordPress版本: 5.0
版权: GPLv2 or later
版权网址: 版权信息

标签

social profiles social accounts user social profiles social user fields

下载

0.1.2 0.1.3 0.1.4 0.1.5

详情介绍:

To use this plugin - your theme (or child theme) must support it. To display additional profiles for user you just need to use native WordPress function the_author_meta( 'profile-name' ) where 'profile name' can be 'twitter', 'facebook', 'googleplus', 'instagram', 'pinterest'. Code example (with Font Awesome Icons): `<?php $prefix_twitter_url = get_the_author_meta( 'twitter' ); $prefix_facebook_url = get_the_author_meta( 'facebook' ); $prefix_googleplus_url = get_the_author_meta( 'googleplus' ); $prefix_instagram_url = get_the_author_meta( 'instagram' ); $prefix_pinterest_url = get_the_author_meta( 'pinterest' ); ?> <a href="<?php the_author_meta( 'twitter' ) ?>"> <a href="<?php the_author_meta( 'facebook' ) ?>"> <a href="<?php the_author_meta( 'googleplus' ) ?>"> <a href="<?php the_author_meta( 'instagram' ) ?>"> <a href="<?php the_author_meta( 'pinterest' ) ?>">` You can see it in action here: https://pencil1.blogonyourown.com/author/robertsummer/

安装:

  1. Upload user-social-profiles.php to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Place in your template: `<?php if ( class_exists( 'UserSocialProfiles' ) ) : ?>
<a href="<?php the_author_meta( 'twitter' ) ?>"> <a href="<?php the_author_meta( 'facebook' ) ?>"> <a href="<?php the_author_meta( 'googleplus' ) ?>"> <a href="<?php the_author_meta( 'instagram' ) ?>"> <a href="<?php the_author_meta( 'pinterest' ) ?>"> `

更新日志:

0.1.4 21 Dec 2015 - WordPress 4.4 tested Example improved. 0.1.3 16 Nov 2015 pot file added 0.1.2 13 Nov 2015 load_plugin_texdomain added 0.1.1 12 Nov 2015 text-domain updated 0.1 12 Nov 2015 initial release.