[wp-hackers] if it is main page !

scribu scribu at gmail.com
Wed Aug 18 12:08:01 UTC 2010


On Wed, Aug 18, 2010 at 10:58 AM, mohammad aghanabi <m.websoft at gmail.com>wrote:

> hi,
> I'm going to show a particular section of sidebar just in main page,
> i know there is is_home function but it's not my goal and this will go
> to show that part in every other pages of wordpress too.
>
> i wanna know if there is a function to do such a thing.
> thanks in advance
>

is_front_page()

Next time: http://codex.wordpress.org/Conditional_Tags


-- 
http://scribu.net


More information about the wp-hackers mailing list