[wp-trac] [WordPress Trac] #18334: Add IDs to div.widgets-holder-wrap in widget admin screen to allow custom layout
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 4 23:23:05 UTC 2011
#18334: Add IDs to div.widgets-holder-wrap in widget admin screen to allow custom
layout
-------------------------+-----------------------------
Reporter: sillybean | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 3.2.1
Severity: normal | Keywords:
-------------------------+-----------------------------
I've been fiddling around with the layout of `wp-admin/widgets.php`, using
a stylesheet full of overrides enqueued to that page in my theme functions
file, to see if I can produce a layout that better matches the theme and
makes more sense to my users. (None of them understand the stacked-sidebar
model.)
I've discovered that I can get pretty far, until it comes to creating two
columns of sidebars. I can move the divs with the IDs matching those I
registered, but the `div.sidebar-name` doesn't come with it. Since their
wrapper, `div.widgets-holder-wrap`, doesn't have an ID, I can't easily
rearrange the screen while the two parts as a group.
TL;DR: If you could add IDs to the wrappers within `div#widgets-right`,
it'd be possible for adventurous theme developers to rearrange the
sidebars.
See attached patch, and sample `functions.php` and `admin-widget-
overrides.css`.
[http://sillybean.net/downloads/widget-admin-ui-altered-no-ID.png
Screenshot without the IDs]
[http://sillybean.net/downloads/widget-admin-ui-altered-with-ID.png
Screenshot with the IDs]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18334>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list