is_home(), is_front_page() not working
-
I’m admittedly new to WordPress, and I’m trying to use is_home() and is_front_page() or a combination of the two in my header in order to display a Flash object on the front page and a smaller header on all other pages. This works just fine on my desktop, but when I upload my theme to the subdirectory where it will be hosted, this does’t seem to work any more.
Is it because index.php is located in a subdirectory? As of now, WordPress needs to function entirely within the subdirectory and the urls should reflect this. I tried adding wp_reset_query() before the if statement and that didn’t work. Any work arounds?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘is_home(), is_front_page() not working’ is closed to new replies.