Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAR Balgemino
2,153 PointsWhere did dynamic_sidebar() function comes from?
So yeah, most functions came from function.php but where did dynamic_sidebar come from? What file?
1 Answer
Tobias Helmrich
31,603 PointsHey,
I'm not sure if I understand your question correctly but dynamic_sidebar is a WordPress function which means that we didn't make this function ourselves. It's in WordPress' core and we just have to call it when we want to use it. The function is used to display the markup of sidebars.
For further informations about this function take a look at the article in the WordPress codex.
I hope that helps, if you have further questions feel free to ask! :)