[wp-trac] Re: [WordPress Trac] #4280: Allow to constrain widgets
being displayed on certain page types only
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 21 06:43:40 GMT 2008
#4280: Allow to constrain widgets being displayed on certain page types only
-------------------------------------+--------------------------------------
Reporter: torbens | Owner: mufasa
Type: feature request | Status: reopened
Priority: normal | Milestone: 2.8
Component: Administration | Version: 2.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Comment (by strider72):
GUI suggestion:
You can create Widget "Sets" that you can name. On the widgets page you
can set which Widget Set shows on the main blog page or on individual
posts.
On particular pages, you can assign a Widget Set (similar to setting a
Page Template).
How to handle scaling? Well, if you make a Widget Set named "Page-xx",
where xx is a number, then that Set is by default the Set that shows up
for Page with ID of xx, and it does NOT show up on the drop-down list on
Edit Page where you select a set, *unless* you are on page xx.
That is, if I make a Widget Set named "Page-4", then when editing the Page
with ID of 4 it's set to that Widget Set (though I can pick a different
named set if I like). When editing Page with ID 3, the named sets show up
in a drop down; but I do NOT see the "Page-4" set on that drop-down,
because that only shows up for Page 4. Sets with any other naming show up
on the drop-down for all pages and can be selected for any page.
Thus, specific pages can have a set made just for that one page, but those
one-off sets don't clutter up the GUI for all the other pages. If you
have a set that you want to use on multiple pages, you make a regular
named set and can assign that via drop-down to as many pages as you like.
--
Ticket URL: <http://trac.wordpress.org/ticket/4280#comment:47>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list