I am using the magazine theme and would like to make to search box more prominent. Ideally I would like it to appear underneath the secondary nav menu, but before the blog content. If I drag the search widget into the ‘Home Top’ widget area, it stops the blog content from displaying.
What’s the best way for me to go about moving the search box, should I register a new widget area that sits between the menu and the content?
Either that or modify the theme directly.
If you haven’t made any other changes to the theme, I’d go for the a new widget. That way you can safely change or upgrade the theme later on.
Morten Ellegaard Larsen – Designer and solution finder, MRC Computer A/S | Noerresundby, Denmark
“I ain’t no expert, I just know more…”
Once you populate any of the home page widgets, your posts will stop displaying on the homepage and you’ll need to drag featured posts and page widgets into the home page widget area’s.
However, you could put the search box in the top of the primary sidebar and continue to display blog posts on your home page.
Another option is create a page using the blog page template and select that as your front page using the Reading settings.
You could then create a widget area above your content and display the search box before your content using a genesis hook and conditional tag depending on which pages you want the search box to display.
The best tutorial to follow if you decide to create a new custom widget area is from Nick or Brian.
The above link provides several options as far as position of the widget area
The above link provides a welcome text widget which you can also use for a search box.
You could also install the Widget Logic plugin which enables you to display the search box based on conditional tags.
is_home – home page only
is_single – on single posts only
Personally, i prefer using Google Custom Search as i find it more accurate than the default WordPress search function.
Please let me know if you get stuck
Thanks for the suggestions,
I will give it a go and let you know if I get stuck.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.