Regarding adding a field type in listing attributes

Can I add a field type in listing attributes that allows the use of <iframe> tags? I want to input and display <iframe> HTML generated from Google Maps.


If I understand you correctly, please check the solution in this topic: Set iframe display format for the attribute - #3

​I hope this is helpful to you.

I read this snippet article. The questioner said the following, but in the end, I don’t understand what was actually corrected.

I modified the code in Code Snippets in iframe And it works.
I don’t know how but it works

And it works.
I don’t know how but it works

I just want to directly enter the Google Map iframe attribute <iframe src="!1m14!1m12!1m3!1d3238.5196326732!2d139.71742104261094!3d35.738030778341944!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sja!2sjp!4v1720612783310!5m2!1sja!2sjp" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe> to display the map.


There is no such attribute that would allow iframes to be added, as it is not secure, as there may be hacking attempts by a user who inserts an iframe on a malicious website.

Therefore, we recommend using the embed attribute and a plugin that allows you to embed Google Maps in WordPress by adding it to supported embeds: Embeds – Documentation –

I believe this will be useful to you.