Add new sidebar

  • Unknown's avatar

    I’m using Piano black theme with Custom CSS which has only one sidebar. I have several pages and I want to use one sidebar for each page. Can I do this with the css code?

    Thanks.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    create new php file like this ,
    page-mynew.php
    <?php
    /*
    Template Name: My New
    */
    get_header();

    // get your page content here

    // custom your sidebar here or use original sidebar as below
    get_sidebar();

    get_footer();
    ?>
    In the codes, you can customize your sidebar as you want ,
    if you finished, upload page-mynew.php into theme folder “themes/mytheme/”

    Then , go to Dashbord >> add new page
    when you are adding new page, take a look at right side bar , you will see “Template” option, choose your “New Page” template.
    hope you get it

  • Unknown's avatar

    Thank you very much!!!

  • The topic ‘Add new sidebar’ is closed to new replies.