Echo variable with php snippet XYZ
-
Hello, in a WordPress page I would like run the snippet XYZ or others to display a Php variable into value attribute of input text Html element. Here my Html code:
<input type="text" name="echoVar" value="[xyz-ips snippet="DisplayVar"] ">
My snippet code is like this:
<?php echo $ragsoc ?>
It seems is not possible to run snippet calling it between double quote. Any help will be very appreciated.
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Echo variable with php snippet XYZ’ is closed to new replies.