WordPress: Assigning widgets to individual pages

2019-07-02 21:10发布

Are there any plugins or hacks that allow assigning widgets to individual pages?

EDIT: Using self-hosted (.org) 2.8.4

An example of use would be: when you're editing a page in the admin, you'd ideally have the ability to assign widgets to that specific page. The default WP behavior is more "all or nothing" in that you assign widgets to the global sidebar and that's it... all pages get the exact same set of widgets... no "per page" assignment of widgets.

The Widget Logic plugin essentially achieves the desired result with a backwards approach, but it doesn't seem to work with the Rich Text Widget plugin.

4条回答
Luminary・发光体
2楼-- · 2019-07-02 21:34

There are several good ones. Display Widgets is my favorite. Widget Locationizer is perhaps more robust, but takes longer to manage. You can't go wrong with either one.

查看更多
我只想做你的唯一
3楼-- · 2019-07-02 21:36

I don't know of any plugins that would give this functionality, but you might want to look at page templates here: WP Page Templates

With this route its more of a hack, as you can't use the CMS backend to manage your widgets. You would have to manually cut and paste the code of the widget into your page.

查看更多
We Are One
4楼-- · 2019-07-02 21:56

How about WP Page Widget:

Select widgets for each page / post / custom post type. For every single page / post / custom post type we can select which widgets to show.

This does it "the right way", i.e. when you edit a page you can choose which widgets to show on that page.

查看更多
我想做一个坏孩纸
5楼-- · 2019-07-02 21:59

Finally found the Widget Context plugin which does what I need.

查看更多
登录 后发表回答