Title: Dynamically Dynamic Sidebar
Author: ShinichiN
Published: <strong>16 novembre 2015</strong>
Last modified: 9 septembre 2016

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://s.w.org/plugins/geopattern-icon/dynamically-dynamic-sidebar.svg)

# Dynamically Dynamic Sidebar

 Par [ShinichiN](https://profiles.wordpress.org/shinichin/)

[Télécharger](https://downloads.wordpress.org/plugin/dynamically-dynamic-sidebar.0.7.zip)

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

 [Support](https://wordpress.org/support/plugin/dynamically-dynamic-sidebar/)

## Description

This plugin enables you to create unlimited custom sidebar/widget areas and switch
existing areas. You can do this without touching your theme.

This plugin utilizes term meta api and so it works only with WordPress 4.4 and above.

Your theme needs to use `is_active_sidebar()` when calling `dynamic_sidebar()` function.

This will work.

    ```
    if ( is_active_sidebar( 'sidebar-1' ) ) {
        dynamic_sidebar( 'sidebar-1' );
    }
    ```

This doesn’t work.

    ```
    dynamic_sidebar( 'sidebar-1' );
    ```

If you only want to output your custom sidebar, put this code on where you want 
to display the sidebar in your theme.

    ```
    do_action( 'dynamically_dynamic_sidebar' );
    ```

[This Plugin published on GitHub.](https://github.com/ShinichiNishikawa/Dynamically-Dynamic-Sidebar/)

ウィジェットエリアをいくつでも定義し、カテゴリやタグ、カスタム分類ごとに差し替え
たり、投稿・ページ・カスタム投稿から使いたいサイドバーを指定したりすることができ
ます。「スクリーンショット」のタブをごらんいただくと、イメージが湧きやすいと思い
ます。

## Captures d’écrans

[⌊First, you add your own dynamic sidebar areas. It's unlimited.⌉⌊First, you add
your own dynamic sidebar areas. It's unlimited.⌉[

First, you add your own dynamic sidebar areas. It’s unlimited.

[⌊Widget areas will appear on your admin panel. Put your widgets inside them.⌉⌊Widget
areas will appear on your admin panel. Put your widgets inside them.⌉[

Widget areas will appear on your admin panel. Put your widgets inside them.

[⌊Choose which widget area you want to use for categories, tags and all the custom
taxonomy terms.⌉⌊Choose which widget area you want to use for categories, tags and
all the custom taxonomy terms.⌉[

Choose which widget area you want to use for categories, tags and all the custom
taxonomy terms.

[⌊You can also choose specific sidebar area for each post, page and custom-post-
type post.⌉⌊You can also choose specific sidebar area for each post, page and custom-
post-type post.⌉[

You can also choose specific sidebar area for each post, page and custom-post-type
post.

## Installation

 1. Upload `dynamically-dynamic-sidebar` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to `/wp-admin/themes.php?page=dynamically-dynamic-sidebar`, which is located
    under `Appearance`

## FAQ

  How many widget areas can I create?

Unlimited.

  How do I switch existing sidebar or widget area?

Choose the target widget area in admin panel. The admin page for this plugin is 
located at Admin > Appearance > Dynamically Dynamic Sidebar.

You need to make sure that the call of dynamic_sidebar is properly wrapped with 
is_active_sidebar() conditional tag.

    ```
    if ( is_active_sidebar( 'sidebar-1' ) ) {
        dynamic_sidebar( 'sidebar-1' );
    }
    ```

Or you can just output your dynamically created sidebar with `do_action( 'dynamically_dynamic_sidebar');`,
too.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Dynamically Dynamic Sidebar » est un logiciel libre. Les personnes suivantes ont
contribué à cette extension.

Contributeurs

 *   [ ShinichiN ](https://profiles.wordpress.org/shinichin/)

[Traduisez « Dynamically Dynamic Sidebar » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/dynamically-dynamic-sidebar)

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

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

## Journal des modifications

#### 0.1

 * Released on github

#### 0.3

 * Get terms ancestors’ allocated widget area for posts.

#### 0.4

 * 2016/05/16
 * Bug fix. Now you can reset the dynamically chosen sidebar to default.

## Méta

 *  Version **0.7**
 *  Dernière mise à jour **il y a 10 ans**
 *  Installations actives **10+**
 *  Version de WordPress ** 4.4 ou plus **
 *  Testé jusqu’à **4.6.30**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/dynamically-dynamic-sidebar/)
 * Étiquettes
 * [sidebar](https://fr.wordpress.org/plugins/tags/sidebar/)[widget](https://fr.wordpress.org/plugins/tags/widget/)
   [widget area](https://fr.wordpress.org/plugins/tags/widget-area/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/dynamically-dynamic-sidebar/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Votre avis](https://wordpress.org/support/plugin/dynamically-dynamic-sidebar/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/dynamically-dynamic-sidebar/reviews/)

## Contributeurs

 *   [ ShinichiN ](https://profiles.wordpress.org/shinichin/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/dynamically-dynamic-sidebar/)