I'm trying to add a widgetized sidebar to the WPfolio Two theme. I've registered the sidebars using this tutorial http://www.wpbeginner.com/wp-themes/how-to-add-dynamic-widget-ready-sidebars-in-wordpress by pasting the code in the functions of my child theme.
I don't know where I'm supposed to place this code:
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?> <div id="secondary" class="widget-area" role="complementary"> <?php dynamic_sidebar( 'sidebar-1' ); ?> </div> <?php endif; ?>
the menu i have now is in the header. but i would prefer it in the sidebar. by default this theme only has widgets in the footer but it seems all the sidebar.php etc., files are there, just not activated.
my website is http://www.lizartlizard.com
if there's another/better way to do this i'd greatly appreciate any tips!