I’ve recently had a request to add a widget area to the primary navigation of the Fun theme, in order to display the Simple Social Icons. This tutorial can be used with other themes built on the Genesis Framework; you’ll likely need to make CSS adjustments specific to your theme…
First, we’ll need to register the widget. Open your functions.php file, and add the following:
Once we’ve registered the widget, we will need to “hook” it, which sets the location for the widget. Add this to your functions.php file:
Finally, it’s time to style it. Your CSS will depend on which theme you are using. Here’s the styling I used on the Pretty Darn Cute Fun theme, after I relocated Primary Navigation:
If you’re looking to make a similar adjustment to your site, and would like to hire me to do it, just shoot me a link here.
Hey Susan,
Great tutorial! Will this basically work on any WordPress Genesis theme? I don’t like to dabble in code too much this is great to know as I’ve been asked to do this before.
Thanks!
B
Bren:
Yes, it should; the CSS styling will change, based on your theme, but the functions.php file updates should work on any theme using the Genesis Framework.
If you have a theme in mind, I’d be happy to take test it for you on another theme, and give suggestions for CSS styling.