Wordpress - Display text dynamically based on URL parameters on Astra template with elementor
I'm using the Astra Theme, I picked one of their starter templates and I'm editing it with Elementor. I would like to add a text to the template that says "Welcome John" where John Doe is replaced by a parameter name that I pass in the URL, how can I do this? Is there a better approach to displaying a dynamic name onto a template?
Example: if the link is mywebsite.com/?name='Mike' then the text will be "Welcome Mike" just like what's shown on this video [https://www.youtube.com/watch?v=BskYG-y_t8E]
I'm building an invitation so that's why I require each invitation to have the name of the guest. Thanks for any help!
Preferably a free approach.
cartoonsmart
YouTube
How to use URL Query String Variables with Wordpress (part 2 in Dat...
If you haven't watched the Template Files tutorial, that will be essential to make use of this lesson. So start here... https://www.youtube.com/watch?v=MVemdHMvLfA
In this short video we will magically pull data from the URL string using PHP and a $_GET variable type. This is a quick and simple way to make any of your Wordpress pages (or any P...
0 Replies