• Hi everybody,

    i would like to know how to get the principal sidebar with the new twentyeleven template. I can get the sidebar for the footer ( get_sidebar(‘footer’); ) but i would like to get one of the other sidebar showed on the widget pannel

    Hope you can help me

    Thanks, best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • can you explain a bit more, why and where you need to get the ‘principal’ sidebar?

    normal call would be:

    <?php get_sidebar(); ?>

    also:
    have you created a child theme for Twenty Eleven yet?
    it is really recommended, to avoid the feeling, when all your customisations are lost with the next upgrade of your wordpress version;
    it is also important to have an unedited default theme as ‘falback’ theme in case of serious theme problems.

    Thread Starter dwnfred

    (@dwnfred)

    In fact all is OK, i’ve just used get_sidebar(‘footer’); on my index page and then i’ve placed my widgets in the 1st section to 3rd section of the footer sidebar

    Thanks m8 all is ok;0)))

    sorry for the poor english, i speak french

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘TwentyEleven template & get_sidebar() function’ is closed to new replies.