How can I display the author website in 'single.php' template, only if the author has entered a URL in her/his profile.
I'm displaying the URL in 'author.php' but the same code doesn't work in other templates.
Thanks
在WP论坛中: 显示用户个人资料的网站字段
<a href="<?php echo get_usermeta($post->post_author,'user_url'); ?>">HERE</a>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.