In my (page-only, no posts) WordPress site I have a number of static blobs in need to put in a sidebar. We could call/tream thoses ‘blobs’ as widgets. At least they’ll have a fixed html content, like ‘teaser1’, ‘teaser2’, ‘disclaimer’, ‘foo policy’…
What I need, is to arrange them differently for every page.
So this is not just about ‘single’ vs. ‘archives’,
but truly ‘product page A’ vs. ‘product page B’ vs. ‘about us’ vs. ‘terms of service’…
I was thinking about custom meta boxes to turn them on and off on the individual editor page wp-admin/post.php?post=196&action=edit
, but of course the drag-and-drop comfort and easy order determination of regular widgets would be even nicer.
Also I am unsure how to maintain (add, remove, edit (html text view will do) those static snippets…
It would be more intuitive for my users to have it on the individual edit page (wp-admin/post.php?post=123&action=edit
) to check “I want widget 1,2,5,8” rather than going to the respective widget/snippet, telling him “You have to appear on the following pages” which I understand is the way Display Widgets works…
So ideally I’d have a Widgets (or Modules or Snippets) preference page, where I can add/edit/delete widgets. And then on the individual edit page, a metabox on the right to add them and drag them into order.
7 s
You can do it using Widget Context plugin or Widget Logic plugin.
They work fine. I prefer Widget Context because it has more flexibility.