Home › Forums › General Issues › Echo author image? › Reply To: Echo author image?
Yeah, I have Image URL selected.
If you want to echo the image url on a regular page or whatever you can do that by simply doing this:
<?php echo get_field('name_of_field'); ?>
But if you use this instead:
<?php echo get_post_meta($post->ID, "name_of_field", true); ?>
… You don’t get the image url, then you get the image id.
It seems like you can’t obtain the image url by calling “get_the_author_meta”. Is there another way? Something like “get_the_author_fields”
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.