Support » Developing with WordPress » OOP and Options Pages

  • Resolved Tsalagi


    Can someone point me to a tutorial on how to create and use a PHP Class – Method OOP structure to build a Theme options page and options? I’d appreciate it. I’ve found some themes that use this method and I’d like to learn more about it. If you have thoughts on using that method, I’d appreciate that too. I have found different ways of producing options pages such as procedural with options built using arrays and using the WordPress Settings API. Which is better, more efficient and so on? The reason I would like to use the OOP method is actually more about learning but I’d like to hear about it in relation to building options pages.

Viewing 4 replies - 1 through 4 (of 4 total)
  • well i don’t know any tutorial about this
    but u can read the source code of those themes u found
    other’s source code is a great school 😉

    Can a small help, how to get rid of that I suppose the front page of a short post, for example, title and 4-5 lines of text and button detail. So when I click on the headlines or on the link in more detail, that we loaded the entire contents of the post that his new site?




    @tsalagi which themes currently do this? I’d like to take a peek at their code.

    Khang Minh


    @helgatheviking you can look at Theme Hybrid 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘OOP and Options Pages’ is closed to new replies.