get_aside wordpress theme code example
Example: register_sidebar
<?php if ( is_active_sidebar( 'your-sidebar-slug' ) ) { ?>
<ul id="sidebar">
<?php dynamic_sidebar('your-sidebar-slug'); ?>
</ul>
<?php } ?>
<?php if ( is_active_sidebar( 'your-sidebar-slug' ) ) { ?>
<ul id="sidebar">
<?php dynamic_sidebar('your-sidebar-slug'); ?>
</ul>
<?php } ?>