WordPress.org

Support

Support » Plugins and Hacks » Hacks » Options Page w/o Tables?

Options Page w/o Tables?

  • I’m working on my first plugin and getting acquainted with the Plugin API. This is more a question of curiosity than anything else.

    When you use the API add_settings_section and add_settings_field it automatically creates the tables around the settings fields.

    Now, I honestly haven’t used tables for layout on a site in about a decade (and am a bit surprised how pervasive their use still is for layout in WordPress).

    I can easily set up my options page manually without using any tables and still make it layout the same, but is there some not-so-obvious reason this isn’t already being done? Do I HAVE to use tables to layout my settings fields etc., on my custom Options page or can I code it in a more contemporary fashion?

  • The topic ‘Options Page w/o Tables?’ is closed to new replies.
Skip to toolbar