WordPress.org

Ready to get started?Download WordPress

Forums

Custom Sidebars
[resolved] Using sidebars in templates (2 posts)

  1. KilnCollective
    Member
    Posted 1 year ago #

    Can you use a Custom Sidebar in the template?

    If yes - what is the php code to do this?

    http://wordpress.org/extend/plugins/custom-sidebars/

  2. Hi there!

    Sorry about the extreme delay.

    If your getting the sidebar in a template, a simple

    <?php get_sidebar( $name ); ?>

    Will get you the sidebar. Function reference here http://codex.wordpress.org/Function_Reference/get_sidebar

    And then register sidebar can be found here http://codex.wordpress.org/Function_Reference/register_sidebar

    Thanks!

    Kind Regards
    Jack

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic