is_home() and is_front_page() not working
-
I am trying to load a script only on the home page. I have registered the script in the functions.php file and have no problem getting it to load on every page. When I try to add a conditional using is_home(), is_front_page(), or is_page(‘home’), none of them seem work with this theme. I have also tried wp_reset_query(); beforehand.
- The topic ‘is_home() and is_front_page() not working’ is closed to new replies.