Changeset 1575303
- Timestamp:
- 01/15/2017 09:41:32 PM (8 years ago)
- Location:
- google-plus-authorship/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
google-plus-authorship/trunk/google-plus-authorhip.php
r831344 r1575303 1 1 <?php 2 3 2 /* 4 3 Plugin Name: Google Plus Authorship 5 4 Plugin URI: http://marto.lazarov.org/plugins/google-plus-authorship 6 5 Description: Google Plus Authorship enables Your profile picture to appear in Google Search Results. Very Easy to implement. Just 3 step to process 7 Version: 2. 56 Version: 2.6 8 7 Author: Martin Lazarov 9 8 Author URI: http://marto.lazarov.org … … 11 10 */ 12 11 13 function get_google_plus_authorship_link ($gplus_return='') { 12 function get_google_plus_authorship_link ($gplus_return='') { 14 13 $gplus_author_name = esc_attr( get_the_author_meta( 'gplus_author_name', $user->ID ) ); 15 $gplus_author_display = esc_attr( get_the_author_meta( 'display_name', $user->ID ) ); 14 $gplus_author_display = esc_attr( get_the_author_meta( 'display_name', $user->ID ) ); 16 15 $gplus_author_url = esc_attr( get_the_author_meta( 'gplus_author_url', $user->ID ) ); 17 16 $author_name = "+"; … … 20 19 return $gplus_return; 21 20 } 22 function google_plus_authorship_link($gplus_return='') { 21 function google_plus_authorship_link($gplus_return='') { 23 22 echo get_google_plus_authorship_link ($gplus_return); 24 23 } … … 44 43 add_filter( 'the_author_posts_link', 'google_plus_authorship_link',10,10 ); 45 44 add_filter( 'get_the_author_posts_link','get_google_plus_authorship_link',10,10 ); 46 47 45 48 46 add_action( 'show_user_profile', 'gplus_authorship_profile_fields' ); … … 92 90 93 91 } 94 95 ?> -
google-plus-authorship/trunk/readme.txt
r831344 r1575303 4 4 Tags: google plus, google plus author, authorship, google authorship, google, google plus integration, google plus search 5 5 Requires at least: 3.0 6 Tested up to: 3.36 Tested up to: 4.7.1 7 7 Stable tag: trunk 8 8 … … 42 42 * Get a link back from your Google Plus Profile 43 43 44 1. Sign in your Google profile. 44 1. Sign in your Google profile. 45 45 2. Click Edit profile. 46 46 3. Click the Contributor To section on the right, and then click Add custom link. Get a link from their. ( For the first time, add a link from description area, other profiles, contributor to, and from recommended link. … … 56 56 57 57 == Changelog == 58 = 2.6 = 59 * dos2unix conversion of all files 58 60 = 2.5 = 59 61 * Rewriting filters and ading more template cases … … 67 69 * Fixed author blog url 68 70 = 2.1 = 69 * Fixed readme.txt texts 71 * Fixed readme.txt texts 70 72 = 1.0 = 71 73 * Google Authorship for Multiple Authors
Note: See TracChangeset
for help on using the changeset viewer.