Home>Support

Image attachments don’t get detected

By Fabio Marzocca, 10 years ago. Last reply by Andrew Misplon, 10 years ago
This simple code snippet is detecting the first image attached to the post: It works on any post, except those with a page-builder structure. It seems that Page Builder hides the attached image from the function wp_get _attachment_image Any tip? Thanks Fabio

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More