• How to change Elementor Header via custom code

    ,

    Hello Folks, ever need to change the Elementor header via custom code. Or need extra conditions, that elementor-pro do not provide? Assuming, you are using Elementor and Elementor-Pro First, we hook into ‘elementor/theme/before_do_{$locations}’ $location is our ‘header’ Then in our callback function, we first remove the default location header. This location seems like an array…