I'm coding my first wordpress plugin. I've created an options page with a few options using the wordpress options API functions add_settings_section()
and add_settings_field()
.
Everything works fine so far but all fields on the settings page are in one column. I'd like to style the options page a little "nicer" but I can't find an API for it.
How do I for instance arrange the settings sections and settings field in two columns using <div>
or an html <table>
? The wordpress API seems to create it's own table structure.
Thank you!
Here is how I handled the same issue.
To give context here is an image of the columns that I wanted.
In my implementation I removed
do_settings_sections('my_page');
and used raw HTML instead.