Custom sidebar for home page

Cleft setup wizard in WordPress

Replacing the default get_sidebar() with this snippet to load a custom sidebar just for the home page. Be sure to name your new sidebar document sidebar-home.php.

     if ( is_home() ) :
     else :

Comments  Leave a Reply

  1. Tweets that mention Wordpress Custom sidebar for home page – wpsnipp.com Wordpress code snippets for your blog -- Topsy.com February 11, 2011 at 4:15 pm

    […] This post was mentioned on Twitter by HN Firehose, newsery3. newsery3 said: WordPress custom sidebar for home page – http://bit.ly/f3kVDR – [Hacker News FH] […]

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!