Viewing 1 replies (of 1 total)
  • Thread Starter Virendra

    (@virendrachandak)

    I found a way to do it in author.php file

    Just use the following to display the Google+ and Twitter links:

    <?php
    $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author));
    echo $curauth->googleplus;
    echo $curauth->twitter;
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Get the Google and Twitter links’ is closed to new replies.