Honded
KPCKevin Powell - Community
•Created by Honded on 5/14/2024 in #front-end
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.
1 replies
KPCKevin Powell - Community
•Created by Honded on 2/20/2024 in #front-end
Bootstrap-Table: Table Sticky Header extension not working
I copied the exact same starter template they have on their documentation, just to make sure I wasn't implementing Bootstrap-Table wrong: https://bootstrap-table.com/docs/getting-started/introduction/#starter-template
After that, I went to their Table Sticky Header documentation: https://bootstrap-table.com/docs/extensions/sticky-header/
Then I pasted the code on the Usage section within my <head> tag, then on the table I added the attribute like this:
<table data-toggle="table" data-sticky-header="true">
...
</table>
After doing all that, the headers are not sticky when I scroll down my table.
Clearly I'm doing something wrong, any help is appreacited, thanks!
This is what the full code looks like:
1 replies