Automattic / Automattic/jetpack

Widget visibility: allow the use of both "Show" and "Hide" for the same widget

Open
#851 5 comments 0 reactions 0 assignees View on GitHub
[Feature] Widget Visibility Enhancement Good For Community
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

---

When I activate visibility, I can choose SHOW or HIDE. Next, every condition are grouped in the same selection.
Imagine this scenario:

```
SHOW if CATEGORY is XXXXX
but
HIDE if TAG is YYYYY
```

I can't use this, because all conditions are grouped in the same selection, SHOW or HIDE.

Suggested here:
- http://wordpress.org/support/topic/widget-visibility-limitations?replies=3

Original trac ticket:
- https://plugins.trac.wordpress.org/ticket/1986

Contributor guide

Open the contributing guide

Research direction

Start by locating the widget visibility implementation and reviewing the linked WordPress support discussion and original Trac ticket. Confirm how visibility conditions are grouped; done means a widget can combine SHOW conditions with HIDE conditions and the resulting behavior is covered by the project's relevant checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.