• I have tested this on a bare bones WP install.
    The iframe is replaced with a thumnbnail for a normal page, but not for a custom post type.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor WP Rocket

    (@wp_rocket)

    Hi,

    The plugin doesn’t differenciate the different types of posts when performing the replacement.

    Do you have an URL we can see the issue on?

    Thread Starter yanwhite

    (@yanwhite)

    Thanks for the reply, I had a look at the plugin source code and couldn’t see anything which suggested it might. Where can I pm you the details?

    Thread Starter yanwhite

    (@yanwhite)

    Hi, an update. I tested some more, with ACF, and it’s working with the CPT.
    So, must be a plugin conflict somewhere, or the loop set up strangely.

    Thread Starter yanwhite

    (@yanwhite)

    I’d still like to pm you the link please, as you may have some insight into why this particular setup isn’t working. The page in question is pulling in several custom posts into a page template.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Lazy load iframe not working on CPT’ is closed to new replies.