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”
Viewing 1 post (of 1 total)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users