2014-05-02, 19:35:40
You want to put that code in the 'template.php' file of your theme (/themes/Theme-Folder/template.php) right in the place where the component with the proper sidebar needs to be.
This might be a good read.
This might be a good read.