从电子邮件地址显示用户Gravatar
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了从电子邮件地址显示用户Gravatar相关的知识,希望对你有一定的参考价值。
<?php echo '<img src="' . $gravatar_link . '" />'; ?> The variable "$comment_author_email" would be a string of a valid email address. If the email isn't in the Gravatar database, it will return a default graphic. "$comment_author_email" is the default WordPress variable that populates from a cookie for people who have previously commented (if the theme supports it).
以上是关于从电子邮件地址显示用户Gravatar的主要内容,如果未能解决你的问题,请参考以下文章