Title: Limit Widgets
Author: Patrick Rauland
Published: <strong>12 octobre 2012</strong>
Last modified: 12 février 2015

---

Recherche d’extensions

![](https://ps.w.org/limit-widgets/assets/banner-772x250.png?rev=948477)

Cette extension **n’a pas été testée avec les3 dernières versions majeures de WordPress**.
Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs 
de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

![](https://s.w.org/plugins/geopattern-icon/limit-widgets_b0a5d2.svg)

# Limit Widgets

 Par [Patrick Rauland](https://profiles.wordpress.org/bftrick/)

[Télécharger](https://downloads.wordpress.org/plugin/limit-widgets.1.0.5.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/limit-widgets/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/limit-widgets/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/limit-widgets/#installation)
 * [Développement](https://fr-ca.wordpress.org/plugins/limit-widgets/#developers)

 [Support](https://wordpress.org/support/plugin/limit-widgets/)

## Description

This is a simple WordPress plugin which allows a site adminstrator to limit the 
number of widgets in a sidebar. You simply go the the settings -> limit widgets 
page and customize the maximum number of widgets used for each menu.

A nice visual effect will appear in the sidebar in the WordPress admin and the client
will be unable to drop new widgets into the sidebar once the cap has been reached.

You can set widgets to have unlimited widgets by leaving the field blank. You can
also set the sidebar to have 0 widgets effectively diabling it.

**Credits**

This is the Internet which means that nothing is created from scratch. This plugin
is mostly a combination of work from other people which I just packaged into something
with a user interface for easy management.

 * [Jan Fabray](http://wordpress.stackexchange.com/users/8/jan-fabry) on [WordPress Answers](http://wordpress.stackexchange.com/questions/19907/limit-number-of-widgets-in-sidebars)
 * [Aman](http://stackoverflow.com/users/821185/aman) on [Stack Overflow](http://stackoverflow.com/questions/6636701/limit-number-of-items-in-sortable-with-draggable-as-source/6663581#6663581)

**Contributors Welcome**

 * Submit a [pull request on Github](https://github.com/BFTrick/limit-widgets)

**Author**

 * [Patrick Rauland](http://www.patrickrauland.com)
 * [Ryan Welcher](http://www.ryanwelcher.com)

## Captures d’écran

[⌊A sidebar that is full.⌉⌊A sidebar that is full.⌉[

A sidebar that is full.

[⌊A sidebar that is beyond full. Normally this happens when you limit an existing
sidebar.⌉⌊A sidebar that is beyond full. Normally this happens when you limit an
existing sidebar.⌉[

A sidebar that is beyond full. Normally this happens when you limit an existing 
sidebar.

## Installation

 1. Upload Limit Widgets to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to the Settings -> Limit Widgets page.
 4. Enter an integer for each sidebar on the Limit Widgets settings page.

## FAQ

  What do the different colors in the WordPress admin section mean?

 * _Blue_: If you have a sidebar that has reached the maximum number of widets allowed.
 * _Red_: If you have a sidebar that has more widets than is allowed.
 * _No color_: If your sidebar doesn’t have a limit or the number of widgets in 
   the sidebar is less than the limit there is applied to the sidebar.

  How do you configure a sidebar with more widgets than allowed?

There are two likely ways to get a sidebar that has more widets than allowed.

 1. You set the maximum number of widgets on a sidebar that was already too full.
 2. Someone disabled the JavaScript. See the next question.

  How does this plugin work? / Is there anyway someone can avoid the set limits?

This plugin is based on JavaScript. If you have a client who likes to break the 
rules you set it is possible that they might disable the JavaScript and set the 
sidebars that way.

## Avis

Il n’y a aucun avis sur cette extension.

## Contributeurs & développeurs

« Limit Widgets » est un logiciel libre. Les personnes suivantes ont contribué à
cette extension.

Contributeurs

 *   [ Patrick Rauland ](https://profiles.wordpress.org/bftrick/)
 *   [ Ryan Welcher ](https://profiles.wordpress.org/welcher/)

[Traduisez « Limit Widgets » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/limit-widgets)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/limit-widgets/), 
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/limit-widgets/), ou s’inscrire
au [journal de développement](https://plugins.trac.wordpress.org/log/limit-widgets/)
par [RSS](https://plugins.trac.wordpress.org/log/limit-widgets/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### 1.0.4

 * fixed a bug where users could add more widgets via the inline tool
 * added additional author

#### 1.0.3

 * Updating admin side CSS to play nicely new layout.
 * Adding link from plugins page to settings page.

#### 1.0.2

 * Fix – PHP notices for an empty widget area

#### 1.0.1

 * Tweak – Updating readme.txt file

#### 1.0.0

 * Initial release

## Méta

 *  Version **1.0.5**
 *  Last updated **il y a 11 années**
 *  Active installations **30+**
 *  WordPress version ** 3.0 ou plus **
 *  Language
 * [English (US)](https://wordpress.org/plugins/limit-widgets/)
 * Tags
 * [dynamic sidebar](https://fr-ca.wordpress.org/plugins/tags/dynamic-sidebar/)[limit](https://fr-ca.wordpress.org/plugins/tags/limit/)
   [restrict](https://fr-ca.wordpress.org/plugins/tags/restrict/)[sidebar](https://fr-ca.wordpress.org/plugins/tags/sidebar/)
   [widget](https://fr-ca.wordpress.org/plugins/tags/widget/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/limit-widgets/advanced/)

## Notes

 4.5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/limit-widgets/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/limit-widgets/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/limit-widgets/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/limit-widgets/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/limit-widgets/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/limit-widgets/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/limit-widgets/reviews/)

## Contributeurs

 *   [ Patrick Rauland ](https://profiles.wordpress.org/bftrick/)
 *   [ Ryan Welcher ](https://profiles.wordpress.org/welcher/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/limit-widgets/)