Hi,
I am using the excellent tim's All-purpose embed shortcode
viewtopic.php?f=8&t=7950
to embed AMP images in my rich text editor.
And it works like a charm.
But, when I try to use it on global, to get custom fields to my pages, it does not work.
For example:
does not work in
Any idea why?
I am using the excellent tim's All-purpose embed shortcode
viewtopic.php?f=8&t=7950
to embed AMP images in my rich text editor.
And it works like a charm.
But, when I try to use it on global, to get custom fields to my pages, it does not work.
For example:
- Code: Select all
[embed code='<amp-img src="https://www.mywebsite/couch/uploads/image/blog/image.jpg" width="768" height="578" alt="" layout="responsive" ></amp-img>']
does not work in
- Code: Select all
<cms:do_shortcodes><cms:get_custom_field 'maintext' masterpage='globals.php' page=k_folder_name /></cms:do_shortcodes>
Any idea why?