Home Forums Backend Issues (wp-admin) iFrame Embedding


iFrame Embedding

    • piyush.a

    • December 30, 2019 at 12:36 am


    I’m trying to embed the following code using ACF, but I just haven’t been able to get it to work after putting in several hours.

    <iframe frameborder=0 width=”500″ height=”500″ src=””></iframe>

    I’ve tried oEmbed, Text, TextArea (with formatting variations, URL, WYSIWYG (text and visual forms).

    Can someone please point in the right direction?

    Thank you so much!


  • I am having this exact issue with a google map iframe.

    It works fine on when I use a text box and insert the code using the elementor page builder. However, using a template that pulls the iframe code dynamically using ACF yields nothing; just blank space…

  • joenathan78, check out ACF Code Field. It’s a workaround and it’s working for me.

  • I’m having same issue and found this post.

    @piyush-a I have tried the ACF Code Field plugin but it’s also not working. I have it installed, configured and my custom embed field is showing up on my CPT entry. But Elementor cannot “see” the field in the key dropdown. I’ve tried all different variations of the editor type (HTML Mixed, HTML, etc.) Would you mind sharing how you got this to work?

    • RupsNN

    • October 3, 2020 at 2:13 am

    Same problem here: I want to display an iframe using ACF.

    • Roni

    • October 7, 2020 at 6:49 pm

    I have the same problem with the embedding the Google map iframe. Did anyone manage to do that?

    • RupsNN

    • October 7, 2020 at 7:31 pm

    Google Maps can be displayed by using the widget “Google Maps”.
    Set location to an ACF-field and you’re done. 🙂

    • Roni

    • October 7, 2020 at 8:09 pm

    @rupsnn Thank טou but I do not want to embed a map with a particular location but to embed an entire map of a route prepared in Google. Their export looks like this:
    <iframe src = "" width = "640" height = "480"> </iframe>

    • RupsNN

    • October 7, 2020 at 8:24 pm

    @roni Your code works fine over here.
    But if you don’t want to embed a map with a particular location, what’s the connection with ACF?

    • Roni

    • October 7, 2020 at 9:05 pm
    This reply has been marked as private.
  • What ACF Field do we need in order to make this work?

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.