Support » Requests and Feedback » "postinfo" contains rel="author"

  • Hello,

    Google recently introduced authorship support for there search:

    This requires linking to a authors page which is again linked from a Google Profile. Also the Profile needs to be link from a Google Profile.

    Unfortunately WordPress adds the rel=”author” flag in its postinfo class which breaks the link, e.g.

    <div class=”postinfo”>by / July 12th, 2011</div>

    Could you change this or tell me how to change it?

    Best regards, Lars

Viewing 3 replies - 1 through 3 (of 3 total)
  • I believe the file which is author-template.php in in wordpress include folder.

    I changed the following, the original line I adjusted was: ‘‘,
    function the_author_posts_link($deprecated = ”) {
    if ( !empty( $deprecated ) )
    _deprecated_argument( __FUNCTION__, ‘2.1’ );

    global $authordata;
    if ( !is_object( $authordata ) )
    return false;
    $link = sprintf(
    get_author_posts_url( $authordata->ID, $authordata->user_nicename ),
    esc_attr( sprintf( __( ‘Posts by %s’ ), get_the_author() ) ),
    echo apply_filters( ‘the_author_posts_link’, $link );


    I guess the question is still if the template should be adjusted for everyone?

    Moderator Ipstenu (Mika Epstein)


    Lead Plugin Wrangler

    Undecided as of yet.

    You can do it in your theme via this method:

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘"postinfo" contains rel="author"’ is closed to new replies.