Have you built your own wordpress theme and now would like to add flexibility by allowing the admin to customize parts of it? Then what you need is an Options page within the WP admin side. Now you’re thinking “OMG, admin side? That’s much too complex for me!!!”. FALSE! Believe me: read this tutorial, and then you’ll be able to add any kind of option to your theme!
So, ready for some PHP? Let’s go!
In this tutorial, I’ll customize a theme named MySuperTheme. I’ll add an Options page to allow the admin to embed his/her video on the home page.