[wp-trac] [WordPress Trac] #48373: Widgets area grouping
WordPress Trac
noreply at wordpress.org
Sun Oct 20 03:57:29 UTC 2019
#48373: Widgets area grouping
-----------------------------+-----------------------------
Reporter: dipakw | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version:
Severity: normal | Keywords:
Focuses: ui |
-----------------------------+-----------------------------
The recent wordpress project I have been working on is news magazine,
which has over 30 widgets areas for some reasons. I find it so difficult
to drag and drop widget to specific widget area, just for the reason that
there are so much areas.
We can also place widgets to an specific area by selecting name, but here
too, so much names.
I though that grouping areas would solve this problem, so, how do we
group?
{{{#!php
<?php
/**
* `Homepage` group
*/
register_sidebar(array(
// Existing parameters +
'name' => __('Banner area', 'td'),
'group' => 'Homepage' //@here
));
register_sidebar(array(
// Existing parameters +
'name' => __('Footer1', 'td'),
'group' => 'Homepage' //@here
));
/**
* `Single page` group
*/
register_sidebar(array(
// Existing parameters +
'name' => __('Banner area', 'td'),
'group' => 'Single page' //@here
));
register_sidebar(array(
// Existing parameters +
'name' => __('Footer1', 'td'),
'group' => 'Single page' //@here
));
}}}
So, based on these sidebar registrations, wordpress will show dropdown
having two options, Homepage and Single page on the widgets page right
above areas listing.
I think this thing is much likely to be related to core WP. I am
interested to contribute WP too, but have never done before. Can I
directly make pull request to git wordpress repo, or how do I?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48373>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list