What is the difference with
I was wondering which one I should use. Maybe one use widgets and the other one doesn’t?
Please refer to the
dynamic_sidebar() Codex entries.
get_sidebar( $slug ) template tag includes the
sidebar-$slug.php template-part file.
dynamic_sidebar( $slug ) template tag outputs the
$slug dynamic sidebar, as defined by
register_sidebar( array( 'id' => $slug ) ).