Plugin Author
Baden
(@baden03)
Hola!
It sounds like a typical issue with a theme or plugin force-loading an old version of jQuery. Actually, please comment out the line in your header.php:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js" type="text/javascript"></script>
Also: You have the following javascript errors on your page:
Uncaught TypeError: Cannot read property 'nodeType' of undefined jquery.js?ver=1.10.2:4
carouFredSel: No element found for "#foo2". jquery.carouFredSel-6.2.1-packed.js?ver=3.8:15
não é bom 🙂
Hola!
Please, see javascript errors on page. I don’t believe in more errors.
And, now? The who to do?
Thanks!
Plugin Author
Baden
(@baden03)
Almost fixed! Now, the problem is that the countdown is being inserted manually in the pop-up window BEFORE jQuery is being loaded. To fix this, add the following directly after your <title> tag:
<?php wp_enqueue_script('jquery'); ?>
Good luck! And please let us know if this fixes the issue for you.
Header: before and after <title> tag.
Pop-up: too.
Nothing!
Thanks!
Plugin Author
Baden
(@baden03)
Sorry if that was not clear. By after your title tag I mean after the </title> part. So it should look something like:
<title><?php wp_title( '|', true, 'right' ); ?></title>
<?php wp_enqueue_script('jquery'); ?>
I know! That’s what I did.
Plugin Author
Baden
(@baden03)
Ah! I see. OK, the problem is that when jQuery is enqueued the correct way, it is still being loaded AFTER the countdown script. How exactly are you creating the pop-up modal widow with the countdown? Is it a plugin, theme or something you programed yourself?
In the mean time the following hard-coded jquery load should get the countdown moving for you. In your header.php file, replace the
<?php wp_enqueue_script('jquery'); ?>
you added below the title with:
<script type='text/javascript' src='http://marianaemario.com.br/wp-includes/js/jquery/jquery.js?ver=1.10.2'></script>
<script type='text/javascript' src='http://marianaemario.com.br/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
Please let us know the results and good luck!
Pop-up plugin:
http://ww.wp.xz.cn/plugins/ez-popup-manager/
I made the changes. But still not working.
I am very grateful for your attention and your efforts to help me. I hope this problem can somehow be useful to their work.
Plugin Author
Baden
(@baden03)
Very strange. Please send us an email to info [at] twinpictures [dot] de with a link to this thread. We would like to take a more in depth look at what exactly is going on and how best to get this issue resolved. We have also started a thread with the EZ Popup plugin to see if they have any ideas.
EZ Popup plugin
<center>
<font style="font-family:Clicker Script; font-size:28px; color:#333333">Faltam somente...</font>
[tminus t="26-04-2014 10:29:59" days="dias" hours="horas" minutes="min." seconds="seg." omitweeks="true" style="carbonite" width="250px" height="70px" jsplacement="inline" /]
<font style="font-family:Clicker Script; font-size:28px; color:#333333">...Para<br>26 de abril de 2014!!!</font>
</center>
Plugin Author
Baden
(@baden03)
Please update to version 2.2.11 and let us know if it works!
Baden,
Ok, now!!!
Wonderful!!!
Fantastic customer service!!!
Congratulations!!!
Thank so much!!!
Plugin Author
Baden
(@baden03)
Great to hear everything worked out. Don’t forget to vote for pedro!