Hi,
I have a snippet that contains the path to my image folder on my server:
If I use the snippet on its own it does work but when I try to use it like below, it doesn't work — the img src outputs the snippet itself. How can I use a snippet in img src?
Thank you.
I have a snippet that contains the path to my image folder on my server:
Code:
<?php $url = site_url( '/', 'https' );echo $url; ?>
Code:
<img src="[wbcr_php_snippet id="187" title="Image Path"]images/abc.jpg" alt="abc" />