I made a plugin for banner administration, you know advertising. I want to run that plugin only if I am visiting the main page, I mean the home page.
I tried in my plugin file (its just one file) to use is_home() function, but it always returns FALSE. Do you guys have any ideas about why this happens? I mean, I’ve been reading lots of post in the net about this function and it seems not working as it should. I tried all the suggestions given in this forum and in the Google results, but I am always still getting FALSE with is_home() even if I am in the main page.
Note: I have no home.php file. Thanks!
- The topic ‘is_home() not working’ is closed to new replies.