WordPress Sidebars Get Sidebar


Example

You can also create your own sidebar file in the theme to call it on different templates. Copy and paste sidebar.php of current theme and change the name (i.e. sidebar-book.php)

In the template you can call this sidebar using get_sidebar('book'). Using this you can call different sidebars on different pages.