Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Shortcode src https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4522 |
Page 1 of 1 |
Author: | tiagop2p [ 28. Jan 2018, 21:33 ] |
Post subject: | Shortcode src |
Hello, I have the PRO version How do I use a shortcode in the src of the iframe? example: [advanced_iframe securitykey = "key" src"[my_shortcode_url]/example1u2/screenshot.html "] |
Author: | TinyWebGallery [ 28. Jan 2018, 22:49 ] |
Post subject: | Re: Shortcode src |
Please see the docmtnation: Also shortcodes are supported. You have to replace the bracket [ with {{ and ] with }}. So if the shortcode is [link] you have to use {{link}} because shortcode attributes which include shortcodes are not supported directly by Wordpress. Also be aware of single and double quotations: src="http://demo.{{url domain='home'}}/url". So only use ' for attributes of the nested shortcode. So [advanced_iframe securitykey = "key" src"{{my_shortcode_url}}/example1u2/screenshot.html "] Is what you need. Best, Michael |
Author: | tiagop2p [ 29. Jan 2018, 02:15 ] |
Post subject: | Re: Shortcode src |
perfect |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |