Custom Sidebar only on single post
In additon to wordpresser answer, you can also call to get_sidebar(‘sidebar-aside-content’); only in the template files where you want the sidebar be displayed. For example, if you include <?php get_sidebar(‘sidebar-aside-content’); ?> in “theme_folder/single.php” file, the sidebar will be displayed only in single posts. For example. In functions.php: //Register your sidebar add_action( ‘widgets_init’, ‘my_widgets_init’ ); function … Read more