Hi, I am wondering how best to load L&L templates that set theme variables and are not directly rendered on the page, E.g. design elements and copy snippets. These templates must load before all other L&L templates. I assume the best place is inside the HTML <head>
or is that too soon?
Potential solutions:
- Load the template in the head with PHP
- Use Elementor’s custom code feature. This can position the code in the head but I can’t see a way to make it process a L&L template.
I do have a working solution of simply positioning the templates at the top of the Elementor header but this seems a bit hacky.
Appreciate any recommendations you may have.
Thanks.