• Resolved morrisaddison

    (@morrisaddison)


    Hello,
    im using the theme Pixel, and in it, it has a file called page_fullwidth.php.

    in page_fullwidth.php it does not call <?php get_sidebar(); ?> and thats ok, but i would like to have page_fullwidth.php call a different sidebar..

    i made one called <?php get_sidebar2(); ?> but i cant get mine to show up in page_fullwidth.php i can add <?php get_sidebar(); ?> and it shows up just fine.

    im new to wordpress, but i do know html/css and learning php now

    can someone please tell me how i can get my sidebar2 to show up?

    thanks for any help givin,
    ~Mo

Viewing 2 replies - 1 through 2 (of 2 total)
  • There is no such function as get_sidebar2(), you have to call get_sidebar with a name.

    For example, if I had a file in my theme called sidebar-special.php, then I would load that sidebar like this: get_sidebar(“special”);

    Do a search on that function in the docs and it will probably help

    Thread Starter morrisaddison

    (@morrisaddison)

    well now i feel dumb…. thank you for your help!

    ~Mo

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘calling more then one sidebars’ is closed to new replies.