Thanks in advance,
Here my code from the footer.php:
I tested the script on my own site, and it worked just fine. Do you have any kind of cache plug-in running on your site? If you do, try disabling the plug-in and testing again.
You’re right. The code is working. But in the theme I’m currently using it doesn’t work. I had WP-Cache, but deactivated it and I still have the same problem. That’s weird. But thank you for your feedback.
The problem is that on every page in my theme, the conditional tags returns true for is_home() and is_front_page().
It’s definetly a problem with this theme. Does anyone know what can influence conditional tags in the footer.php? In others themes the code work fine.
- The topic ‘Conditional Tags in footer.php’ is closed to new replies.