Tags


1). function.php

reg. your side bar

register_sidebar(array(
  'name' => __( 'Right Hand Sidebar' ),
  'id' => 'right-sidebar',
  'description' => __( 'right-hand side.' ),
  'before_title' => '<div>',
  'after_title' => '</div>'
));


2). call sidebar function in the sidebar.php

<?php dynamic_sidebar('right-sidebar') ?>

 

Advertisements