If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
So I have a popup .PHP script that I have uploaded to my hosting.
I place <?php include(‘exitpopup.php’); ?> some where in the themes files but I also have to call out the jquery.
So ultimately I am adding the following lines into the theme, either in the header, footer, main index, ect.
<?php include(‘exitpopup.php’); ?>
But when I call out the jquery the pictures do not load on my site.
I can do this on all of my other sites so I know this problem has to do with your theme.
What does this exitpopup.php do? Can you give us a link on your website?
Basically I need to include <?php include(‘exitpopup.php’); ?> in a file where Jquery is already called out on.
Is there a file in this theme where jquery is already called out on?
the exitpopup.php is a pop up script that gives a pop up when the mouse leaves the site. The problem is not with the script, it is when i try to add the jquery
Well the the theme already loads in the jquery library but it loads in the library from wordpress based on the most recent version available in the wp library. So right now, in the header its calling jquery version 1.7.2. via wp_head()
If you try and load in 1.3.2 on top of that, its going to cause a lot of problems.
If the script you have will run on the newer version, you can just include it in the header.php after the wp_head is called or in the footer so that it loads after all the other content.
The topic ‘[help] jquery ruins pictures’ is closed to new replies.