is_home doesn't work
-
Hi everybody,
I have a problem with my website, i want to show my slider only on the homepage. So i use this:
<?php if( is_home() ) {do_action('slideshow_deploy', '23');} ?>
on my page file and i define my static homepage.
But it doesn’t work.This work well before, in doubt i upgraded my wordpress to 3.8 and my plug in “slideshow” to 2.2.19.
I tried to add<?php wp_reset_query(); ?>before my condition.Did you have any idea to help me?
Thanks for your help.Adamas8
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘is_home doesn't work’ is closed to new replies.