Support

Account

Home Forums General Issues How to retrieve only iframe source link of Google Map Custom Field. Reply To: How to retrieve only iframe source link of Google Map Custom Field.

  • Usually when it return false is because there’s no value set on the post.

    Can you double check that
    1) your Map Field’s name is indeed called ‘google_map’?
    2) the value is also saved properly?
    3) your current post is indeed the post your are retrieving the value from? (do a var_dump(get_the_ID()) and see if the current post id is the same post id where you put the acf field)
    4) make sure you are not mis-using get_field and get_sub_field (we all make this mistake form time to time 😉 )

    Cheers