WatEr
WatEr

Reputation: 3

Wordpress - How to tell if im on the main page

Just wondering how to tell if this is on the main page

if (mainpage??) // do

Upvotes: 0

Views: 49

Answers (1)

Matteo Riva
Matteo Riva

Reputation: 25060

Use this function: http://codex.wordpress.org/Function_Reference/is_home

Upvotes: 1

Related Questions