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 trialoussama bouyardane
Courses Plus Student 1,292 PointsHow i can make a Custom Theme Option for my own custom wordpress theme?
Hello guys, Recently i create my own wordpress theme but i want to create a Custom Theme Option and to be linked with it, so please how i can do that? thanks for all :)
2 Answers
Zac Gordon
Treehouse Guest TeacherWe don't have any content for this yet, but will by the end of the year. In the mean time look into the Options Framework plugin and related tutorials for that.
Or you can watch our plugin development course and probably figure out how to code it all yourself.
Matt Campbell
9,767 PointsGrab one of the theme options templates. You basically use meta data to save colours and text etc, and then get the option in the theme files instead of hard coding it in. It's quite simple once you're comfortable adding, updating and getting options from the database and saving forms to the database. Bit of jQuery here and there for color pickers and you're all set.
oussama bouyardane
Courses Plus Student 1,292 PointsThank you sir, you can give me tutorial about that? to create custom theme option? and linked with my template? Thanks.
oussama bouyardane
Courses Plus Student 1,292 Pointsoussama bouyardane
Courses Plus Student 1,292 Pointsthank you for your reply can you give me url for plugin development course? and i wait you to create a course for make custom theme option :)
Zac Gordon
Treehouse Guest TeacherZac Gordon
Treehouse Guest TeacherHere's the plugin course: http://teamtreehouse.com/library/how-to-build-a-wordpress-plugin