Plugin Directory

Changeset 1575303


Ignore:
Timestamp:
01/15/2017 09:41:32 PM (8 years ago)
Author:
mlazarov
Message:

dos2unix conversion

Location:
google-plus-authorship/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • google-plus-authorship/trunk/google-plus-authorhip.php

    r831344 r1575303  
    11<?php
    2 
    32/*
    43Plugin Name: Google Plus Authorship
    54Plugin URI: http://marto.lazarov.org/plugins/google-plus-authorship
    65Description: 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.5
     6Version: 2.6
    87Author: Martin Lazarov
    98Author URI: http://marto.lazarov.org
     
    1110*/
    1211
    13 function get_google_plus_authorship_link ($gplus_return='') { 
     12function get_google_plus_authorship_link ($gplus_return='') {
    1413    $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 ) );
    1615    $gplus_author_url = esc_attr( get_the_author_meta( 'gplus_author_url', $user->ID ) );
    1716    $author_name = "+";
     
    2019    return $gplus_return;
    2120}
    22 function google_plus_authorship_link($gplus_return='') { 
     21function google_plus_authorship_link($gplus_return='') {
    2322    echo get_google_plus_authorship_link ($gplus_return);
    2423}
     
    4443add_filter( 'the_author_posts_link',    'google_plus_authorship_link',10,10 );
    4544add_filter( 'get_the_author_posts_link','get_google_plus_authorship_link',10,10 );
    46 
    4745
    4846add_action( 'show_user_profile',        'gplus_authorship_profile_fields' );
     
    9290
    9391}
    94 
    95 ?>
  • google-plus-authorship/trunk/readme.txt

    r831344 r1575303  
    44Tags: google plus, google plus author, authorship, google authorship, google, google plus integration, google plus search
    55Requires at least: 3.0
    6 Tested up to: 3.3
     6Tested up to: 4.7.1
    77Stable tag: trunk
    88
     
    4242* Get a link back from your Google Plus Profile
    4343
    44 1. Sign in your Google profile. 
     441. Sign in your Google profile.
    45452. Click Edit profile.
    46463. 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.
     
    5656
    5757== Changelog ==
     58= 2.6 =
     59* dos2unix conversion of all files
    5860= 2.5 =
    5961* Rewriting filters and ading more template cases
     
    6769* Fixed author blog url
    6870= 2.1 =
    69 * Fixed readme.txt texts 
     71* Fixed readme.txt texts
    7072= 1.0 =
    7173* Google Authorship for Multiple Authors
Note: See TracChangeset for help on using the changeset viewer.