Support » Themes and Templates » register_sidebar(); what is that?

  • Resolved cardinal4


    What in the world does this function do? I see it in the functions.php of some themes, in other themes, it’s not even there at all. Some of the themes even spell it as register_sidebars()!?

    Unfortunately for me, searching this function doesn’t get me any closer to finding out what this function does. What exactly does it do?? I’m interested in developing my own theme, so i need to find out what functions I do or do not use.

Viewing 1 replies (of 1 total)
  • That code is part of the sidebar widgets system. Themes with that code support widgets on their sidebars. Themes without it do not.

    If you’re writing a theme, then making it support widgets is easy. Read this in detail:
    Widgetizing Themes

Viewing 1 replies (of 1 total)
  • The topic ‘register_sidebar(); what is that?’ is closed to new replies.