Linking pages with a url $_GET() variable
I tried shortcode like:
[iframe src="https://www.website.com/[shortcode here]" etc]
but that didn't work, I also tried some php (like making the whole thing as a shortcode, and in the php page do:
$page = $_GET("page"); echo '[iframe src=" ' . $page . ' " etc]';
and call it with https://www.website.com/?page=contact but that also didn't work. Can you give me a tip or point me in the right direction so that I can use a URL to load the iframe with an alternate page?
Thanks in advance, and have a great day!
To use shortcodes in the url you need the pro version.
Also if you like to hand over the page of the iframe as parameter.
Even get parameters can be used directly.
Please enable the pro administration in the free version and then go to the basic tab -> Url.
There you see tons of placeholders you can use.
On the advanced tab you also find a section with urls. There a lot of back and for mapping can be done. Like the feature that you hand over the url by a parameter you can define.
Does this help already? You can even test this features in the preview with the free version!