WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] OOP and Options Pages (5 posts)

  1. Tsalagi
    Member
    Posted 3 years ago #

    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.
    Thanks

  2. xRommelx
    Member
    Posted 3 years ago #

    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 ;)

  3. iso_miki
    Member
    Posted 3 years ago #

    Hello!
    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?

    Thank

  4. helgatheviking
    Member
    Posted 3 years ago #

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

  5. Khang Minh
    Member
    Posted 3 years ago #

    @helgatheviking you can look at Theme Hybrid :)

Topic Closed

This topic has been closed to new replies.

About this Topic