WordPress.org

Ready to get started?Download WordPress

Forums

Google Authorship not showing on all posts (9 posts)

  1. fitmole
    Member
    Posted 9 months ago #

    Hi,

    I need help figuring out why my Google authorship code is only showing up on specific posts on my site.

    For example, authorship shows up fine on this post - http://www.fitmole.org/chris-hemsworth-workout/

    But it doesn't show up on this post - http://www.fitmole.org/stephen-amell-workout/

    The latter post is missing this code <link rel="author" href="https://plus.google.com/111130432646598219988" />

    But I'm not sure why only some posts have that code and others don't. Can anyone help me out so I can get authorship to show up on all my posts?

    Many thanks in advance

  2. Andrew
    Forum Moderator
    Posted 9 months ago #

    Are you using a plugin for that?

  3. fitmole
    Member
    Posted 9 months ago #

    Nope no plugin.

    Can't figure out why the authorship code is only showing on some posts but not others.

    Any thoughts?

  4. Andrew
    Forum Moderator
    Posted 9 months ago #

    How did you get the authorship code in your site?

  5. fitmole
    Member
    Posted 9 months ago #

    I put it in my functions.php file.

  6. Andrew
    Forum Moderator
    Posted 9 months ago #

    What code did you use?

  7. fitmole
    Member
    Posted 9 months ago #

    <span class="author vcard">
    			<a class="fn n" href="<?php echo get_the_author_url( get_the_author_meta( 'ID' ) ); ?>" title="View <?php echo get_the_author(); ?>'s Profile" <link rel="author" href="https://plus.google.com/111130432646598219988"><?php the_author_meta( 'display_name' ); ?></a>

    But I'm using Genesis theme so I also put my google profile id under the "Your profile settings"

  8. Andrew
    Forum Moderator
    Posted 9 months ago #

    What have StudioPress said about this?

  9. fitmole
    Member
    Posted 9 months ago #

    Haven't responded.

Reply

You must log in to post.

About this Topic