Widgets on Pages

Description

The easiest, and highest rated way to Add Widgets to Posts and/or Pages. Create unlimited dynamic sidebars (widget areas) and insert these into a WordPress post or page.

There is one default widget area that can be used or you can add more from the settings menu. You can have an unlimited number of sidebars, and these can be used multiple times.

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 name of the sidebar.

[widgets_on_pages id=x]

The sidebars can also be added to any theme, using template tags. This is an ace way to add widgets to a theme’s header and footer.

Screenshots

  • Setting up the sidebars.

  • Widgets on Pages 'Turbo Sidebars' page.

Installation

  1. Install the plugin from within the Dashboard or upload the directory widgets-on-pages and all its contents to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add the widgets you want to the Widgets on Pages widget area in the admin screens
  4. 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. [widgets_on_pages]).
  5. 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"); ?>
  6. If you see bullet points/images next to the widget titles when using this plugin use the ‘Enable Styling’ setting in the options page
  7. For further info check out these ace videos put together by Jessica Barnard

FAQ

Installation Instructions
  1. Install the plugin from within the Dashboard or upload the directory widgets-on-pages and all its contents to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add the widgets you want to the Widgets on Pages widget area in the admin screens
  4. 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. [widgets_on_pages]).
  5. 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"); ?>
  6. If you see bullet points/images next to the widget titles when using this plugin use the ‘Enable Styling’ setting in the options page
  7. 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.

What widgets are supported?

All of them. Yup, We’ve not come across a single non-working one yet.

Yes… you can have an unlimited number of sidebars defined. The number available can be administered via the settings menu.

Reviews

Works as advertised + timely response to support request

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!

Very Helpful

This plugin solved my problem with needing some features of a widget in posts. It works great and is very easy to use.

Saving me HOURS of work

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.

Read all 125 reviews

Contributors & Developers

“Widgets on Pages” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.0

  1. Analytics inclusion for support and ongoing maintenance

1.0.5

  1. Bugfix: Should fix [issue where widgets were jumping out of the sidebars back to inactive state]. Thanks to all involved for help in debugging. Bug only affected some installs (theme dependant)
  2. Coloured border to identify TurboSidebars in Widget Admin screen.

1.0.4

  1. PHP 5.2 Support

1.0.3

  1. Fixed issue with “Settings” link appearing next to each plugin.
  2. Added link to the Turbo Sidebars from the old Settings page, as per this forum post, great idea.

1.0.2

  1. Fixed issue headers being sent from template tag function.

1.0.1

  1. Fixed issue with php warning when styling checkbox was unchecked.

1.0.0

  1. Re-written to use OO approach and best practices, using the WordPress Plugin Boilerplate project and WordPress Coding Standards
  2. Fixed Undefined Index: enable_css issue from the support forum
  3. Added suggestion Enqueue the CSS from the support forum
  4. Moved admin menu to Appearance
  5. Use of Turbo Sidebars as our special widget areas. Better management through CPT

0.0.12

  1. Updated intermals to “re-hide” options screen from non Administrators (thanks to fran klin for spotting this)
  2. Removed some potential name conflicts

0.0.11

  1. 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.
  2. Added more specific selectors to the wop.css to target ul>li as well as ul.

0.0.10

  1. Added option to add CSS file to auto remove bullets… this has been the biggest cause of support mails/forum posts.

0.0.9

  1. Corrected shortcode tags show in Widget admin page.

0.0.8

  1. Resolve potential conflicts with other plugins (contextual help callback).
  2. 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!
  3. Add settings link on main dashboard plugins page

0.0.7

  1. Resolve conflict with YouTube Lyte plugin (thanks to Massa P for the tip off)
  2. Can now add sidebars via template tags so extra sidebars can be added to themes very quickly.
  3. Added contextual help.

0.0.6

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.

0.0.5

Fix for activation errors. Looks like it might’ve been the use of php short open tags or line ending chars.

0.0.4

There is now no longer a limit on the number of sidebars that can be defined. Each sidebar can be called independently.

0.0.3

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.

0.0.2

Minor update so that the functions.php code is not needed anymore… makes like easier.

0.0.1

1st release – only supports one defined in-post/page widget area