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 trialJan BM
3,795 PointsTheme Checker
How come that this appeared in my theme checker and how to resolve it?
"REQUIRED: Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar()."
I've been following your video but I can't seem to find that it triggered to you.
Thanks!
1 Answer
Stephen Van Delinder
21,457 PointsJan,
With errors like that, it is always best to refer back to the Wordpress codex, and ensure that you are using the proper code to create and call your sidebar. In this case, it looks like the error stems from your functions.php files where you should create your sidebars.
To learn more about creating a sidebar: Info on register_sidebar To learn more about the widgets_init action hook :Info on widgets API
I hope this helps.