change get_sidebar() without editing page templates (1 post)

  1. pietergoosen
    Posted 2 years ago #

    I’ve got one question, I’ve registered a new sidebar and created a file called sidebar-main.php. I’m currently working on a childtheme of twenty twelve. Is there a way I can change get_sidebar() to get_sidebar( ‘main’ ) without copying all the relevent files to my child theme and editing thing, something I can use in my functions.php file

    Many thanks

Topic Closed

This topic has been closed to new replies.

About this Topic