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 How to Build a WordPress Plugin Building WordPress Widgets, and Shortcodes How to Create a WordPress Shortcode

Admin panel for shortcodes and repeated reqions

I would like to have a plugin that builds an animated slideshow. For this I would like an admin panel where I could add slides that have fields for an image URL and a title which will be the 2 main attributes for each slide.

I have seen instances where there is an icon in the WP WYSIWYG toolbar, that when pressed will bring up an admin panel that will allow you to add items using form inputs for each, which when completed result in just 1 short code in the page.

A tutorial on something like this, or an explanation of how I would go about this based on what we have seen here would be very helpful.


After completing this section - the extra credit section says: If you would like to build a non-api based plugin, like a simple slideshow you can try uploading images to the media gallery and storing the links to the files in your options table.

How do I upload an image and store a link to it in the options table? We have only really looked at using json and external API's here - am I missing something?