Hi friends ate Themeco!
I have a weird problem that is ruining my development on a lightbox form that was working nicely until I changed the forma and added a new link to it. 1.Could this be a server that is not updating 2. Could there be another solution or workaround to get the JS code (that is allowing the lightbox) working for the new link
Best way to explain this is to give the example for the development site. If you go to these two sites you can see the difference in behaviour when pushing the red register button in the right corner of the site:
page 1
http://karlskronaswimrun.betadev.se/karlskronaswimrun/
vs
page 2
http://karlskronaswimrun.betadev.se/karlskronaswimrun/klasser/
The site remains in its url and a lightbox appears and in the other one it moves to the popup site and leaves the page. Almost like the JS that I entered in the editor does not activate the first pages new form:
The pro header has this button link on page 1, that refers to leadpages:
https://kooldigital.leadpages.co/serve-leadbox/my3mKNjEbcLiN3ZdnDHwoH
And this lik on page 2:
https://kooldigital.leadpages.co/serve-leadbox/1401bda73f72a2:121930be0946dc
Child theme functions has this code, that is working with the old form:
// Additional Functions
// =============================================================================
/Add script on the of the site/
add_action( ‘wp_head’, ‘add_head_script’ );
function add_head_script() { ?>
