Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.