WordPress.org

Forums

[resolved] 2 Sidebars? (4 posts)

  1. arturocivit
    Member
    Posted 2 years ago #

    Hi there, I have my sidebar working properly using the <?php get_sidebar(); ?> tag, but how can I insert another sidebar? Let's say I have this sidebar under a document called sidebar-left.php, how should I write the sidebar tag for this new sidebar?

    Thanks!!

    Arturo

  2. Michael
    Forum Moderator
    Posted 2 years ago #

  3. brettshumaker
    Member
    Posted 2 years ago #

    Hey Arturo,
    If you want to include a specific sidebar like your sidebar-left.php you'll need to use:
    <?php get_sidebar('left') ?>

    For reference:
    http://codex.wordpress.org/Function_Reference/get_sidebar

  4. arturocivit
    Member
    Posted 2 years ago #

    Brett, thanks so much for the kind help!

Topic Closed

This topic has been closed to new replies.

About this Topic