How to get root URL
-
I have a 3 stage site that consists of dev, test and production branch. Each branch has their own URLs. I am using WP Forms on each of these branch sites. I have an image I am displaying a single image within the “notifications” area.
So for example, I am putting in
<img src="https.../my-image.jpg">
into the notification message box, so that users who open the notificaiton email see the image.My question is….is there a smart tag we can use in our notification area of WP Forms, that will give us the site root URL? So we can do something like this….
<img src="{site_url}/my-image.jpg" width="100" height="100">
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to get root URL’ is closed to new replies.