Hello,
I would like to use the Widget Logic plugin to exclude a widget from the homepage only. Is there a way to do this?
Hello,
I would like to use the Widget Logic plugin to exclude a widget from the homepage only. Is there a way to do this?
Try
if ( ! is_front_page() )
The ! in front of the conditional means if the page is NOT the front page.
Ref: http://codex.wordpress.org/Conditional_Tags#The_Front_Page
My presentation about WP conditionals: http://www.slideshare.net/zoonini/take-control-of-your-templates-with-wordpress-conditionals-8546925
This did the trick:
! is_front_page()
Thank you!
Oh right, forgot that with Widget Logic you don't need the if parts. ;-) Glad you got it working!
You must log in to post.