Part 4 – WordPress Theme Development – Create Custom Options with Settings API

Video is ready, Click Here to View ×


:: Support Me ::

Support Me

Video is ready, Click Here to View ×

How to build a Premium Theme for WordPress – Lesson 4
How to create Custom Options with Settings API

GitHub Repo: https://github.com/Alecaddd/Sunset-theme

Download Sunset Theme FREE: https://www.youtube.com/watch?v=ViZLtFIcSfo

:: Tutorial Series ::
WordPress 101 – Create a theme from scratch: https://www.youtube.com/playlist?list=PLriKzYyLb28nUFbe0Y9d-19uVkOnhYxFE
Learn SASS from Scratch:

Video is ready, Click Here to View ×

:: My Website ::
http://www.alecaddd.com/

:: Follow me on ::
Twitter: https://twitter.com/alecaddd
Google+: https://plus.google.com/u/0/+AlessandroCastellani/posts
Facebook: https://www.facebook.com/alecadddpage

17 Comments

  1. hi Alessandro can you tell me one thing in case we have to add multiple add_settings_field in one section, can it is possible for only one callback function for all settings field because I don't wanna use diffrent diffrent callback function for it like when we create slideshow option it has more input name like: title, caption, link, choose image, alt so that is it possible for use only one call back function to show all of these inputs please solve it soon I have to create whole manage theme option for my custom theme. thanks

  2. Everything was working until now. I'm having problems saving the data. When I type in the field and submit, the name doesn't stick or show up at all. I went back several times through the video and checked my code. It looks correct and I can't see any typos or misspellings. I'm at a loss right now.

    Edit: Went back again and fixed it. Turns out it was a misspelling in my code. In my case it was "methood". /sigh
    Sorry about that.

  3. Great lesson, at the very end of lesson I have experienced an error with "Saving Changes" I have got response "Settings saved." but name that I have entered in field disappeared, than I figured out that I had an spelling error in "get_option" where I have wrote 'fist_name' instead of 'first_name'. Thank you for dedicating your time for us!

Leave a Reply

Your email address will not be published.


*