php - Wordpress getting author's Google+ profile url

198

At the author page in wordpress I would like to add the Google+ profile link of a author.

I know how to add things like site_url, twitter, facebook by the_author_meta('string') but I don't know the name to show a google+ profile link. I tried 'google' but no luck.

In the documentation of wordpress I can't find anything about Goole+ profile links.

Thanks in advance,

Nick

336

Answer

Solution:

Try this:

the_author_meta('googleplus')
345

Answer

Solution:

this is the code:

<?php the_author_meta('gplus_id') ?>

People are also looking for solutions to the problem: Parse element from nested namespaces XML in PHP

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.