Reputation: 3
Just wondering how to tell if this is on the main page
if (mainpage??) // do
Upvotes: 0
Views: 49
Reputation: 25060
Use this function: http://codex.wordpress.org/Function_Reference/is_home
Upvotes: 1