The easiest, and highest rated way to Add Widgets to Posts and/or Pages. Allows ‚in-page‘ widget areas so widgets can be defined via shortcut straight into page/post content.
There is one default widget area that can be used or you can add more from the settings menu. You can currently have an unlimited number of sidebars.
Each sidebar can be called indepentenly by a shortcode and you can call more than one per post/page.
Sidebars can be included in the post/page by using a shortcode like the following, where
x is the number of the sidebar.
Sidebars can also be named via the Widgets on Pages options page and that name can be used instead of the
- Install the plugin from within the Dashboard or upload the directory
widgets-on-pagesand all its contents to the
- Aktiviere das Plugin mittels dem ‚Plugins‘-Menü in WordPress
- Add the widgets you want to the
Widgets on Pageswidget area in the admin screens
- Add the shortcut
[widgets_on_pages id=x]to the page or post in the place where you’d like your widgets to appear (where ‚x‘ = the id of the sidebar to use (or the name if you have named it such as
[widgets_on_pages id=TagCloud]). If using only the default sidebar then no ‚id‘ argument is needed (i.e.
- To add a sidebar into a theme you can add the following type of code to the relevant PHP theme file.
<?php widgets_on_template("wop_1"); ?>
- If you see bullet points/images next to the widget titles when using this plugin use the ‚Enable Styling‘ setting in the options page
- For further info check out these ace videos put together by Jessica Barnard
- How can I remove the bullet points which appear next to each widget?
Simply select the ‚Enable Styling‘ setting in the Widgets on Pages options page.
- I did the above but the bullets still show, what now
Your theme’s CSS is probably overriding your setting… you could try using your browsers “inspect element“ function to see what part of the CSS is setting the list-style.
- Can I have more than one defined sidebar area
Yes… you can have an unlimited number of sidebars defined. The number available can be administered via the settings menu.
Working flowless and have a very good support from dev
I wanted to add a WoP to header.php, and was having trouble getting the right code in place – submitted a support request, and Todd was quick to lend advice. Though I ended up going with a different snippet of code than he suggested, the quick response was greatly appreciated!
This plugin solved my problem with needing some features of a widget in posts. It works great and is very easy to use.
Works very well with WP 4.6.1 and is saving me a lot of time.
With this widget, I can change the content of a widget on multiple pages at once – thus saving me hours of trawling through pages to update content.
Works perfectly 🙂
Mitwirkende & Entwickler
„Widgets on Pages“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt.Mitwirkende
- Fixed issue with „Settings“ link appearing next to each plugin.
- Added link to the Turbo Sidebars from the old Settings page, as per this forum post, great idea.
- Fixed issue headers being sent from template tag function.
- Fixed issue with php warning when styling checkbox was unchecked.
- Re-written to use OO approach and best practices, using the WordPress Plugin Boilerplate project and WordPress Coding Standards
- Fixed Undefined Index: enable_css issue from the support forum
- Added suggestion Enqueue the CSS from the support forum
- Moved admin menu to Appearance
- Use of Turbo Sidebars as our special widget areas. Better management through CPT
- Updated intermals to „re-hide“ options screen from non Administrators (thanks to fran klin for spotting this)
- Removed some potential name conflicts
- Replaced all short PHP tags with long ones to ensure the plugin worked as expected even on sites where PHP short tags were disabled. Props to drdanchaz over at the WordPress.org forums for the tip-off.
- Added more specific selectors to the wop.css to target ul>li as well as ul.
- Added option to add CSS file to auto remove bullets… this has been the biggest cause of support mails/forum posts.
- Corrected shortcode tags show in Widget admin page.
- Resolve potential conflicts with other plugins (contextual help callback).
- Fixed bug so that Widgets settings are not lost when switching themes. Credit to wesleong over at WordPress.org forums for getting this fix on the right track!
- Add settings link on main dashboard plugins page
- Resolve conflict with YouTube Lyte plugin (thanks to Massa P for the tip off)
- Can now add sidebars via template tags so extra sidebars can be added to themes very quickly.
- Added contextual help.
Sidebars can now be named via the options page. These names can be used in place of the numerical id used in older versions. Note that if you change the name you will need to manually update any shortcodes where this is being used.
Fix for activation errors. Looks like it might’ve been the use of php short open tags or line ending chars.
There is now no longer a limit on the number of sidebars that can be defined. Each sidebar can be called independently.
The number of sidebars can now be defined via the settings menu. There can be up to 5 defined. Each sidebar can be called independently.
Minor update so that the functions.php code is not needed anymore… makes like easier.
1st release – only supports one defined in-post/page widget area