Thank you for the reply. Is there not a way todo it without additional plugin?
I tried adding following code to child function:
add_action( 'widgets_init', 'singel_blog_post_sidebar' );
function singel_blog_post_sidebar() {
$args = array(
'name' => 'Single post',
'id' => 'single-sidebar',
'description' => 'Add content to single post sidebar',
'class' => 'right-sidebar',
'before_widget' => '<aside id="%1$s" class="widget inner-padding %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h2 class="widget-title">',
'after_title' => '</h2>'
);
register_sidebar( $args );
}
Then using a hook to call for it using:
<?php get_sidebar( 'single-sidebar'); ?>
However, if I call it “get_sidebar” it just gets the right sidebar (i can’t even change it to left-sidebar, it always shows the right sidebar).
Any ideas?