WordPress.org

Ready to get started?Download WordPress

Forums

How do I make multiple widget compatible sidebars? (4 posts)

  1. erlendds
    Member
    Posted 6 years ago #

    I just made my sidebar widget compatible, but I want to have a different sidebar on my signle post page. According to the Automattic tutorial this should be an easy thing to achieve, just put register_sidebars(n) instead of register_sidebar. I can't get this to work though. Anyone got a suggestion?

    My function.php code is here: http://norskwebforum.no/pastebin/10408

  2. imagiscapeca
    Member
    Posted 6 years ago #

    What you are trying seems more sophisticated than what I know, but I noticed that nowhere do you have
    register_sidebars(n) (where n = the # of sidebars you want).

  3. moshu
    Member
    Posted 6 years ago #

  4. erlendds
    Member
    Posted 6 years ago #

    imagiscapeca: I got that, but thanks for helping.

    moshu: Thanks, that did the trick.

Topic Closed

This topic has been closed to new replies.

About this Topic