Title: Conditional Widgets
Author: Jason LeMahieu (MadtownLems)
Published: <strong>2011년 3월 28일</strong>
Last modified: 2025년 2월 13일

---

플러그인 검색

![](https://ps.w.org/conditional-widgets/assets/banner-772x250.jpg?rev=741054)

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

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

# Conditional Widgets

 작성자: [Jason LeMahieu (MadtownLems)](https://profiles.wordpress.org/madtownlems/)

[다운로드](https://downloads.wordpress.org/plugin/conditional-widgets.zip)

 * [세부사항](https://ko.wordpress.org/plugins/conditional-widgets/#description)
 * [평가](https://ko.wordpress.org/plugins/conditional-widgets/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/conditional-widgets/#installation)
 * [개발](https://ko.wordpress.org/plugins/conditional-widgets/#developers)

 [지원](https://wordpress.org/support/plugin/conditional-widgets/)

## 설명

IMPORTANT: This plugin will NOT function after the Widgets screen overhaul that 
is part of WordPress 5.8 unless you use the Classic Widgets plugin (https://wordpress.
org/plugins/classic-widgets/). The plugin will continue to be supported/maintained
for those using Classic Widgets, but there are no plans to make Conditional Widgets
work once Widgets are Blocks.

This plugin adds a form to each widget on the Widgets panel which allows users to
choose which pages and/or categories the widget is either displayed on or hidden
from.

For each widget, you can choose criteria to either SHOW or HIDE the widget, based
on a number of categories. The interface is quite intuitive, and requires no knowledge
of php or conditional tags.

## 스크린샷

[⌊Each widget gets an expandable form at the bottom of it for controlling display
options on the home page and for both pages and categories.⌉⌊Each widget gets an
expandable form at the bottom of it for controlling display options on the home 
page and for both pages and categories.⌉[

Each widget gets an expandable form at the bottom of it for controlling display 
options on the home page and for both pages and categories.

## 설치

Standard Installation Procedure

 1. Upload the `cets-conditional-widgets` folder to the `/wp-content/plugins/` directory
 2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.

## FAQ

### Can I Use it with Custom Post Types or Taxonomies?

Yes and No.

Conditional Widgets can be configured with additional Type/Taxonomy pairs (both 
native and custom), similar to how it functions with Posts and Categories. However,
it does not support additional Custom Post Types the way it does Pages. (If I were
going to write it from scratch, I would have definitely included that, but have 
no plans to add it given that Widgets themselves are on the way to becoming unsupported.)

The following filter is available to take pairs of Post Type and Taxononmy slugs(
use in functions.php or a small plugin):

    ```
    // Add Conditional Widgets support for Success Stories (Post Type) & Story Groups (Taxonomy)
    add_filter('conditional_widgets_type_tax_pairs', 'success_story_conditional_widget_type_tax_pairs' );

    function success_story_conditional_widget_type_tax_pairs( $pairs_array ) {

        $success_story_pair = array(
            'type'=> 'success-story',
            'tax'=> 'story-group' 
        );

        $pairs_array[] = $success_story_pair;
        return $pairs_array;

    }
    ```

If you really want to be able to use Conditional Widgets to control Widget display
on individual instances of a Custom Post Type (rather than based on a Taxonomy),
the workaround would be to create unique Taxonomy terms for those Custom Posts.

## 후기

![](https://secure.gravatar.com/avatar/72591517d328443bddcef5f39dd9db466a769c13daa1f1fdf0cfef001268d819?
s=60&d=retro&r=g)

### 󠀁[simple and working with wp 5.5](https://wordpress.org/support/topic/simple-and-working-with-wp-5-5/)󠁿

 [zinkab](https://profiles.wordpress.org/zinkab/) 2020년 8월 24일

I have been looking for such a widget for some time, and found it today. It is working
with wp 5.5. Thank you for the plugin.

![](https://secure.gravatar.com/avatar/8d27003fb18af252d34b8a00310eab02d02b739f67509234a3d8cc50852dfb37?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-1879/)󠁿

 [FeliceAntonio](https://profiles.wordpress.org/antonio_09/) 2019년 4월 5일

Very useful plugin, light, easy to use for customizing each category widget, or 
page too, it works very well. Thanks -:)

![](https://secure.gravatar.com/avatar/c5a5c374a7b759036099a4c19dd1d336f6cf0c87af13d932f1d2b7b1c09edb30?
s=60&d=retro&r=g)

### 󠀁[Plugin abandoned?](https://wordpress.org/support/topic/plugin-abandoned-20/)󠁿

 [momo-fr](https://profiles.wordpress.org/momo-fr/) 2018년 8월 25일

Hi, I see that this plugin is no longer followed by its developer for a long time,
to delete?

![](https://secure.gravatar.com/avatar/6b0084528a602adec6afda2256dbb45a26c246a6535ed11d1d43a330367d7000?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work well with browser extensions](https://wordpress.org/support/topic/doesnt-work-1718/)󠁿

 [tommyg73](https://profiles.wordpress.org/tommyg73/) 2017년 10월 13일

If you have certain browser extensions (like Grammerly) it will not work. Somehow
the enable crashes or delays too long with them.

![](https://secure.gravatar.com/avatar/27f00c758fcad28141ab9ef10ac705fd507d053f9a8a6d175509d4dbb364e603?
s=60&d=retro&r=g)

### 󠀁[Does not work with WooCommerce and Support is bad](https://wordpress.org/support/topic/does-not-work-with-woocommerce-and-support-is-bad/)󠁿

 [worsin](https://profiles.wordpress.org/worsin/) 2017년 3월 9일

Its currently not compatible with WooCommerce and a post that was made a month ago
by someone regarding this was completely ignored. Seems the developer doesn’t care
about compatibility.

![](https://secure.gravatar.com/avatar/4a0a99e21b6a705ebb3390afe6e04388b9cda8d4c192b7f6e550108a11822b9c?
s=60&d=retro&r=g)

### 󠀁[Fantastic Functional Plugin](https://wordpress.org/support/topic/fantastic-functional-plugin/)󠁿

 [stellaseaspirit](https://profiles.wordpress.org/stellaseaspirit/) 2016년 9월 3
일

This plugin is simple and very efficient. Delivers exactly what it promises. Thank
you so much for creating it!

 [ 모든 24 평가 읽기 ](https://wordpress.org/support/plugin/conditional-widgets/reviews/)

## 기여자 & 개발자

“Conditional Widgets”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에
기여하였습니다.

기여자

 *   [ Jason LeMahieu (MadtownLems) ](https://profiles.wordpress.org/madtownlems/)
 *   [ kgraeme ](https://profiles.wordpress.org/kgraeme/)

“Conditional Widgets”(이)가 7 개 언어로 번역되었습니다. 기여해 주셔서 [번역자](https://translate.wordpress.org/projects/wp-plugins/conditional-widgets/contributors)
님께 감사드립니다.

[자국어로 “Conditional Widgets”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/conditional-widgets)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/conditional-widgets/)
는, [SVN 저장소](https://plugins.svn.wordpress.org/conditional-widgets/)를 확인하시거나,
[개발 기록](https://plugins.trac.wordpress.org/log/conditional-widgets/)을 [RSS](https://plugins.trac.wordpress.org/log/conditional-widgets/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 3.3

    ```
        Updated tested to version, documented support for custom post type and taxonomy support
    ```

#### 3.2

 * Tested through version 6.5.5

#### 3.1

 * Added message to readme explaining the future of Conditional widgets after WordPress
   5.8

#### 3

 * Improved string translatability (Props @alexclassroom)

#### 2.2

 * New Features: Hide on Desktop / Hide on Mobile. (Note that using either of these
   options will immediately hide the widget when the condition is true, and any 
   other options to ‘show’ will be ignored.
 * Fixes lots of small bugs related to the display of the widget control form

#### 2.1

 * Major update of code formatting to better align with WordPress style and guidelines–
   props @cFoellmann
 * Support Conditional Widgets toggle JavaScript on the Customize screen

#### 2.0.5

 * Attempted to resolve the strict warnings
 * IMPORTANT! If updating in a MultiSite/Network environment, you’ll need to visit
   the dashboard of every site for the plugin to continue to work properly. If you
   have a large network, consider using my helper plugin: [https://github.com/MadtownLems/cets-multisite-dashboard-crawler](https://github.com/MadtownLems/cets-multisite-dashboard-crawler)

#### 2.0.1

 * Major Rewrite: modified how settings are stored.

#### 1.8

 * Added an additional checkbox for ALL pages/categories to, once again, make the
   UI even easier to understand

#### 1.7

 * Added VERY basic string translation support
 * Tweaked UI surrounding pages/categories to be easier to understand

#### 1.6

 * Only display the informative debugging text when WP_DEBUG_DISPLAY is true
 * More verbose informative debugging text

#### 1.5

 * Fixed a bug surrounding the extra conditional checks on some configurations (
   Thanks, mmcginnis!)
 * Added debugging and informative statements while WP_DEBUG is enabled

#### 1.4

 * Added support for Posts Pages (when using Static Front Page)

#### 1.3

 * Added support for saving options on Widgets that didn’t otherwise have options

#### 1.2

 * Added option for Tag Archives (by request)

#### 1.1

 * Added options for Search, 404, Date Archives, and Author Archives

#### 1.0.2

 * Small edit to play nicely with some other plugins and their additional processing

#### 1.0.1

 * Basic bug fixes: resolved some warnings and errors. (Sorry for the inconvenience.)

#### 1.0

 * Initial Release

## 기초

 *  버전 **3.3**
 *  최근 업데이트: **2년 전**
 *  활성화된 설치 **7,000+**
 *  워드프레스 버전 ** 3.0 또는 그 이상 **
 *  다음까지 시험됨: **6.7.7**
 *  언어
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/conditional-widgets/), [Danish](https://da.wordpress.org/plugins/conditional-widgets/),
   [English (US)](https://wordpress.org/plugins/conditional-widgets/), [German](https://de.wordpress.org/plugins/conditional-widgets/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/conditional-widgets/),
   [Russian](https://ru.wordpress.org/plugins/conditional-widgets/), [Spanish (Chile)](https://cl.wordpress.org/plugins/conditional-widgets/),
   그리고 [Spanish (Spain)](https://es.wordpress.org/plugins/conditional-widgets/).
 *  [자국어로 번역하기](https://translate.wordpress.org/projects/wp-plugins/conditional-widgets)
 * 태그:
 * [widgets](https://ko.wordpress.org/plugins/tags/widgets/)
 *  [고급 보기](https://ko.wordpress.org/plugins/conditional-widgets/advanced/)

## 평점

 별 5점 만점에 4.5점.

 *  [  20/5-별점 후기     ](https://wordpress.org/support/plugin/conditional-widgets/reviews/?filter=5)
 *  [  0/4-별점 후기     ](https://wordpress.org/support/plugin/conditional-widgets/reviews/?filter=4)
 *  [  2/3-별점 후기     ](https://wordpress.org/support/plugin/conditional-widgets/reviews/?filter=3)
 *  [  1/2-별점 후기     ](https://wordpress.org/support/plugin/conditional-widgets/reviews/?filter=2)
 *  [  1/1-별점 후기     ](https://wordpress.org/support/plugin/conditional-widgets/reviews/?filter=1)

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

[모든  리뷰 보기](https://wordpress.org/support/plugin/conditional-widgets/reviews/)

## 기여자

 *   [ Jason LeMahieu (MadtownLems) ](https://profiles.wordpress.org/madtownlems/)
 *   [ kgraeme ](https://profiles.wordpress.org/kgraeme/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/conditional-widgets/)