Dear Support,
I would like to ask for some help.
I have a client website, where I would like to display a different Google Map location on each post.
I am trying to do so:
I have a custom post type with a wysiwyg editor custom field (this is where the embed Google Maps code goes to)
Also using Bricks Builder's code block.
So in the code block I would like to use this (I am not sure if it is correct):
<?php
$field_name = rwmb_meta('kepzes_terkep', ['object_type' => 'kepzes'], get_the_ID());
echo $field_name;
?>
To display the map. I don't want to use the map/api key method, because it is easier for the client to just copy/paste the embedded code to the custom post.
But it is not working. It only shows the embedded code on the front end. The code execution toggle is on in Bricks Builder.
Also, the wysiwyg editor saves the embedded code only in visual mode, not in text mode.
(I have created several fields as well, to check if it is something wrong with the previous field (Save field value is on))
Could you please help me?
Thanks,
Peter