WordPress.org

Support

Support » How-To and Troubleshooting » Custom Theme, wanting widget compatible but with two sidebar columns

Custom Theme, wanting widget compatible but with two sidebar columns

  • I’m developing a new theme and am wondering if I want to make it widget compatible, and my theme has two columns on the right, how can that be accomplished?

    Are there any themes out there currently that are widget compatible with a three column design?

    Thanks in advance for any help or pointers…

Viewing 6 replies - 1 through 6 (of 6 total)
  • What do you mean “how can that be accomplished”? The 3 column layout? or having 2 sidebars with widgets?

    Sorry I should have been more descriptive…

    I’m wondering how, with 2 side columns, can I make those widget capable so in the admin you can use it just like the drag-n-drop functionality is now but with two columns instead of just the one.

    Well, I can’t remember off the top of my head, but don’t the sidebars come with div classes/ID’s when they’re output into the HTML? It’s been a while since I’ve used them – but I thought if you used more than one, they have a set ID or class to them.

    I also thought there was a given tag that you used in the sidebar – yes…I remember. Normally, you use something like:

    if ( function_exists('dynamic_sidebar') && dynamic_sidebar() to enable the sidebar. With the second sidebar, I believe you change it to:

    if ( function_exists('dynamic_sidebar2') && dynamic_sidebar2()

    or something like that. They talk about this on the widgets site (automattic.com).

    The search is working – if case you didn’t realize it till now.
    Try: “widgets multiple sidebars”
    You may end up here:
    http://wordpress.org/support/topic/111551?replies=11#post-537055

    super – thanks. my search didn’t turn up that or anything useful.

    Check out http://www.urbangiraffe.com. The author, John Godley, has everything you need: instructions about how to modify your templates, how to set up a local server, and most important, an excellent theme that does what you want. He calls it “giraffe2. . . slightly wonky edition”, but he’s being modest. The wonkiness is very minor, if it’s there at all. Here is a direct link to the relevant page: http://urbangiraffe.com/themes/.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom Theme, wanting widget compatible but with two sidebar columns’ is closed to new replies.
Skip to toolbar