Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I was wondering which one I should use. Maybe one use widgets and the other one doesn't?

share|improve this question

closed as not a real question by Chip Bennett, Wyck, Michael, s_ha_dum, toscho Jan 17 '13 at 17:47

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

Have you read the get_sidebar() and dynamic_sidebar() Codex entries? –  Chip Bennett Jan 17 '13 at 17:03
This question is useful as the difference is not clear at all after reading the WP documentation twice… –  feeela Sep 18 '14 at 12:52

1 Answer 1

up vote 1 down vote accepted

Please refer to the get_sidebar() and dynamic_sidebar() Codex entries.

The get_sidebar( $slug ) template tag includes the sidebar-$slug.php template-part file.

The dynamic_sidebar( $slug ) template tag outputs the $slug dynamic sidebar, as defined by register_sidebar( array( 'id' => $slug ) ).

share|improve this answer
so....what's the difference? –  user25893 Jan 17 '13 at 20:46