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 trial

WordPress WordPress Settings API Creating a Theme Options Page Settings Coding Out a Theme Options Page Setting Form

Carmine Maraglio
Carmine Maraglio
29,762 Points

Error in project downloads

The project downloads have the following code: add_settings_section( 'wpt_slideshow_section', 'Slideshow Settings', 'wpt_slideshow_section_callback', 'general' );

Which causes none of the information(checkboxes, form data, etc.) to show on the Theme Options page.

Changing "general" to "wptsettings" corrects this issue.

Also, the project downloads have only the completed project, it would be nice to have a the basic layout only, so we can code along with Zac.

1 Answer

Thank you my friend, You are a life saver was racking my brain trying to see why it wasn't working.