WordPress 2 Widget sidebars

by David Naylor
Bronco - Digital Marketing Agency

Ok on David Naylor I hope you noticed the 2 widget sidebars, well here is the code:

in your Theme’s function.php

if (function_exists("register_sidebar")) {
        register_sidebar(Array("name" => "sidebar"));
        register_sidebar(Array("name" => "sponsors"));

Then in your template to add for column 1

< ?php if (!function_exists('dynamic_sidebar') or !dynamic_sidebar("sidebar")) { ?> etc.. < ?php } ?>

and likewise for column 2

< ?php if (!function_exists('dynamic_sidebar') or !dynamic_sidebar("sponsors")) { ?> etc.. < ?php } ?>


Bronco - Digital Marketing Agency
Making your inbox more interesting
Looking to keep up to date, or find out those things we can’t mention on the blog? Then sign up to our semi-regular newsletter. Don’t worry, we won’t spam you.


Get in Touch

Things are better when they’re made simpler. That’s why the David Naylor blog is now just that; a blog. No sales pages, no contact form - just interesting* info about SEO.

If you’d like to find out more about the Digital Marketing services we do provide then head over to Bronco (our main company website) to get in touch.

Get in Touch Today * Interestingness not guaranteed
Part of the Bronco family