If you are using a static page for your homepage. Then you should be using is_front_page();
. Check this link -> http://codex.wordpress.org/Conditional_Tags
If you are using a static page for your homepage. Then you should be using is_front_page();
. Check this link -> http://codex.wordpress.org/Conditional_Tags