Maciej Kuliński
Maciej Kuliński

Reputation: 87

Wordpress image picker - using in theme options page

I'm making my first wordpress theme. I want to use Wordpress built-in media picker to choose logo image and/or header image. How can I make a button to open the picker and save the picked image in theme settings?

Upvotes: 0

Views: 2030

Answers (1)

Johannes Filter
Johannes Filter

Reputation: 1933

You can make use of this tutorial. There is no difference if you use the Media Selector for your theme or for your plugin. http://jeroensormani.com/how-to-include-the-wordpress-media-selector-in-your-plugin/

Upvotes: 2

Related Questions