Using ACF image instead of Featured image
-
Hello,
I am working on an affiliate site in which several authors will contribute. We are using the EasyAzon plugin, and the Advanced Custom Fields plugin along with this one.
I was curious to the possibility of using the image of a generated shortcode rather than the featured image on the listing blocks sections throughout the website (homepage, related posts, etc).
EasyAzon’s shortcodes output this code.
<a class="easyazon-link" href="https://mysite.com/product/xxxxxxxxxxxxx" target="_blank" rel="nofollow" data-cart="y" data-cloak="y" data-identifier="xxxxxxxxxxx" data-locale="US" data-localize="y" data-popups="n" data-tag="xxxxxxx"> <img class="easyazon-image alignnone no-display appear" src="https://mysite.com/wp-content/uploads/2015/11/51v64zgcHwL1.jpg" alt="" width="492" height="500"> </a>
I want to grab the img src to use.
- The topic ‘Using ACF image instead of Featured image’ is closed to new replies.