Hello Hrohibil,
You can have as many widgets you want – either dynamic sidebar is at side or footer.
I think that you want different sidebar for different page as well.
In that case, just for example, you want sidebar for blogtuts.php. First you need to widgetize your theme.
<?php
/**
* Register our sidebars and widgetized areas.
*/
function my_widgets_init() {
register_sidebar( array(
'name' => 'Blog and Tutorial Sidebar',
'id' => 'blogsntuts',
'before_widget' => '<div>',
'after_widget' => '</div>',
'before_title' => '<h2>',
'after_title' => '</h2>',
) );
}
add_action( 'widgets_init', 'my_widgets_init' );
?>
Then, you must have sidebar-blogtuts.php to represent that sidebar which contain call code.
<?php if ( is_active_sidebar( 'blogsntuts' ) ) : ?>
<div id="idebar" role="complementary">
<?php dynamic_sidebar( 'blogsntuts' ); ?>
</div><!-- #primary-sidebar -->
<?php endif; ?>
Then, your blog-tuts template code will be.
<?php
/**
* Template Name: Blogs and Tutorials
*/
get_header(); ?>
<div id="main">
some code here, and no sidebar
<?php get_sidebar( 'blogtuts'); ?>
</div>
<?php get_footer();
Remember, https://codex.www.remarpro.com is a great place to start.
Thanks,