Support

Account

Home Forums General Issues Get term ACF Image Field Reply To: Get term ACF Image Field

  • Wait, echo wp_get_attachment_image( $summaryimage, $size ); does seem to try to load images now like:

    <img width="1191" height="1684" src="https://site.test/wp-content/uploads/2021/10/2021-MOTM-Aug.png" class="attachment-full size-full" alt="" loading="lazy" srcset="https://site.test/wp-content/uploads/2021/10/2021-MOTM-Aug.png 1191w, https://site.test/wp-content/uploads/2021/10/2021-MOTM-Aug-212x300.png 212w, https://site.test/wp-content/uploads/2021/10/2021-MOTM-Aug-724x1024.png 724w, https://site.test/wp-content/uploads/2021/10/2021-MOTM-Aug-768x1086.png 768w, https://site.test/wp-content/uploads/2021/10/2021-MOTM-Aug-1086x1536.png 1086w" sizes="(max-width: 1191px) 100vw, 1191px">

    so I am making progress and thanks to you @jarvis . Thanks a lot so far.

    Now I just need to add proper html, include $args, load part of text or excerpt and then I will be done.