Support » Fixing WordPress » Google Plus author profile not showing up

  • I am using the WordPress Bootstrap theme by http://320press.com/wpbs/

    In my author.php file I have this code:
    ‘<?php
    // If google profile field is filled out on author profile, link the author’s page to their Google+ profile page
    $curauth = (get_query_var(‘author_name’)) ? get_user_by(‘slug’, get_query_var(‘author_name’)) : get_userdata(get_query_var(‘author’));
    $google_profile = get_the_author_meta( ‘google_profile’, $curauth->ID );
    if ( $google_profile ) {
    echo ‘‘ . $curauth->display_name . ‘‘;
    ?>
    <?php
    } else {
    echo get_the_author_meta(‘display_name’, $curauth->ID);
    }
    ?>’

    This looks right to me, but I do not see it when I view page source and I cannot click on the username. I do have a google Plus link on my user page, so not sure why it’s not working. Am I missing something??

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google Plus author profile not showing up’ is closed to new replies.