Variable src
-
Hi,
I would like to insert an iframe object on a webpage. But I would like to insert a variable into the src value. For example, supposing I wish to insert:
[iframe src=”https://onedrive.live.com/embed?xxxxxxxx”%5D
I want to replace xxxxxxxx with a variable from either a php function or from a table value in a TablePress table. Is there a way to do this? Can I embed a shortcode within the iframe shortcode? Fore example:
[iframe src=”https://onedrive.live.com/embed?”%5Btable-cell id=123 cell=A1 /]]
or a php function like this:
[iframe src=”https://onedrive.live.com/embed?”<?php SrcVariable(); ?>]
I’m not a programmer and may be asking for something that isn’t possible.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Variable src’ is closed to new replies.