{"id":40131,"date":"2015-11-14T20:04:52","date_gmt":"2015-11-14T20:04:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/user-social-profiles\/"},"modified":"2018-12-11T10:20:22","modified_gmt":"2018-12-11T10:20:22","slug":"user-social-profiles","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/user-social-profiles\/","author":14042593,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.5","stable_tag":"0.1.5","tested":"5.0.25","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"User Social Profiles","header_author":"BlogOnYourOwn","header_description":"","assets_banners_color":"","last_updated":"2018-12-11 10:20:22","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/user-social-profiles","header_author_uri":"https:\/\/blogonyourown.com\/","rating":0,"author_block_rating":0,"active_installs":200,"downloads":11023,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.2","0.1.3","0.1.4","0.1.5"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[28422,679,63106,63105],"plugin_category":[],"plugin_contributors":[87137],"plugin_business_model":[],"class_list":["post-40131","plugin","type-plugin","status-publish","hentry","plugin_tags-social-accounts","plugin_tags-social-profiles","plugin_tags-social-user-fields","plugin_tags-user-social-profiles","plugin_contributors-limestreet","plugin_committers-limestreet"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/user-social-profiles.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>To use this plugin - your theme (or child theme) must support it.\nTo display additional profiles for user you just need to use native WordPress function <code>the_author_meta( 'profile-name' )<\/code> where 'profile name' can be 'twitter', 'facebook', 'googleplus', 'instagram', 'pinterest'.<\/p>\n\n<p>Code example (with Font Awesome Icons):<\/p>\n\n<pre><code>&lt;?php\n    $prefix_twitter_url = get_the_author_meta( 'twitter' );\n    $prefix_facebook_url = get_the_author_meta( 'facebook' );\n    $prefix_googleplus_url = get_the_author_meta( 'googleplus' );\n    $prefix_instagram_url = get_the_author_meta( 'instagram' );\n    $prefix_pinterest_url = get_the_author_meta( 'pinterest' );\n?&gt;\n&lt;?php if ( ! empty( $prefix_twitter_url ) ) : ?&gt;&lt;a href=\"&lt;?php the_author_meta( 'twitter' ) ?&gt;\"&gt;&lt;span class=\"fa fa-twitter\"&gt;&lt;\/span&gt;&lt;\/a&gt;&lt;?php endif; ?&gt;\n&lt;?php if ( ! empty( $prefix_facebook_url ) ) : ?&gt;&lt;a href=\"&lt;?php the_author_meta( 'facebook' ) ?&gt;\"&gt;&lt;span class=\"fa fa-facebook\"&gt;&lt;\/span&gt;&lt;\/a&gt;&lt;?php endif; ?&gt;\n&lt;?php if ( ! empty( $prefix_googleplus_url ) ) : ?&gt;&lt;a href=\"&lt;?php the_author_meta( 'googleplus' ) ?&gt;\"&gt;&lt;span class=\"fa fa-google-plus\"&gt;&lt;\/span&gt;&lt;\/a&gt;&lt;?php endif; ?&gt;\n&lt;?php if ( ! empty( $prefix_instagram_url ) ) : ?&gt;&lt;a href=\"&lt;?php the_author_meta( 'instagram' ) ?&gt;\"&gt;&lt;span class=\"fa fa-instagram\"&gt;&lt;\/span&gt;&lt;\/a&gt;&lt;?php endif; ?&gt;\n&lt;?php if ( ! empty( $prefix_pinterest_url ) ) : ?&gt;&lt;a href=\"&lt;?php the_author_meta( 'pinterest' ) ?&gt;\"&gt;&lt;span class=\"fa fa-pinterest\"&gt;&lt;\/span&gt;&lt;\/a&gt;&lt;?php endif; ?&gt;\n<\/code><\/pre>\n\n<p>You can see it in action here: https:\/\/pencil1.blogonyourown.com\/author\/robertsummer\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>user-social-profiles.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place in your template:\n\n\n    &lt;a href=&quot;\"&gt;<\/a>\n    &lt;a href=&quot;\"&gt;<\/a>\n    &lt;a href=&quot;\"&gt;<\/a>\n    &lt;a href=&quot;\"&gt;<\/a>\n    &lt;a href=&quot;\"&gt;<\/a>\n<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1.4<\/h4>\n\n<p>*21 Dec 2015 - WordPress 4.4 tested\n*Example improved.<\/p>\n\n<h4>0.1.3<\/h4>\n\n<p>*16 Nov 2015 \n*pot file added<\/p>\n\n<h4>0.1.2<\/h4>\n\n<p>*13 Nov 2015 \n*load_plugin_texdomain added<\/p>\n\n<h4>0.1.1<\/h4>\n\n<p>*12 Nov 2015 \n*text-domain updated<\/p>\n\n<h4>0.1<\/h4>\n\n<p>*12 Nov 2015 \n*initial release.<\/p>","raw_excerpt":"Plugin adds social fields to user profile in admin panel (Dashboard &gt; Users).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/40131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=40131"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/limestreet"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=40131"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=40131"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=40131"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=40131"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=40131"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=40131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}