Automattic / Automattic/jetpack

WordAds Block: Include Hide from Desktop Option

Open
#18,178 1 comment 1 reaction 0 assignees View on GitHub
[Block] Ad Customer Report [LEGACY]
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Is your feature request related to a problem? Please describe.
The Ad block has an option to hide the block on mobile devices, but not an option to hide the Ad block on larger screens -- this prevents being able to set up a large Leaderboard ad that appears on desktops, and a different size ad to be shown only for mobile

#### Describe the solution you'd like
Add a toggle to hide an Ad block on larger displays, or provide additional Ad block display options

#### Describe alternatives you've considered
None that I can think of that wouldn't require CSS, which would cause other issues

#### Additional context
[![Hide on Mobile ](https://d.pr/i/IkDwfK/YhLZJJVFE8+)](https://d.pr/i/IkDwfK/YhLZJJVFE8)

Requested in 3593524-zen

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points, so first locate the WordAds block implementation and its existing mobile-visibility option. Confirm how block display settings are represented, then verify that a desktop-only toggle can coexist with the mobile option and produces the requested separate desktop and mobile ad behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.