Collapsible Options
It's possible that some themes or plugins would have many options on a page. It would be useful if options panels could be specified as "collapsed" (or even just collapsible), with a dropdown list of options presented on the page rather than all of the options at once, allowing users to choose which option they want to see, with the other options hidden via CSS til needed.
There may be a more elegant approach, but if options can already be arranged by with Headings and notes describing the section, it only makes sense to allow them to be collapsible to better take advantage of screen real estate.
(And I think this should be completely optional as having a single group of like five options be collapsible would be silly... But a page with many? Yeah, it'd be nice.)
You mean tabs? Hehe :)
More like how the boxes on a WordPress add post page can be collapsed individually, to save space on the page itself.
But isn't that the purpose of tabs in WP admins already? Just like the theme customizer has sections, meta boxes have.. boxes, and admin panels have tabs.
Reason I'm kinda against this is that as much as possible I want to use WP features as much as possible and not introduce new ones.
It's possible that some themes or plugins would have many options on a page.
It seems to me that tabs are the perfect solution to this. I can't imagine how a dropdown list would be superior to tabs.
For this, I was thinking it would be nice to just add some of my own CSS to move the tabs to a vertical orientation on the left side of the options area at non-mobile sizes. I can have a crack at this and share the results.
On Mon, Mar 24, 2014 at 3:12 AM, Philip Newcomer [email protected]:
It's possible that some themes or plugins would have many options on a page.
It seems to me that tabs are the perfect solution to this. I can't imagine how a dropdown list would be superior to tabs.
Reply to this email directly or view it on GitHubhttps://github.com/gambitph/Titan-Framework/issues/74#issuecomment-38427999 .
Awesome @MickeyKay the function createAdminPage in class-admin-panel.php should be the place to look. There are a ton of hooks there which have been placed pre-emptively for skinning the UI