Automattic / Automattic/jetpack

Embeds: Add Setting to Instagram Embeds to Hide Caption

Open
#38,636 3 comments 0 reactions 0 assignees View on GitHub
[Feature] Shortcodes / Embeds [Plugin] Jetpack [Pri] Low Customer Report [LEGACY] Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### What

Add an option to hide or include the caption on an Instagram post via the Instagram Embed Block.

### How

**Current:**
Currently, adding an Instagram Embed looks like this, and includes the entire post:

Screenshot 2024-07-31 at 10 25 52 AM

In some cases, an end user may wish to remove the caption. Adding the feature would bring the embed block in line with the now deprecated Instagram Shortcode which supported the `hidecaption=true` parameter.

**Instagram:**
Instagram's native embed option includes a checkbox to hide the caption:

Screenshot 2024-07-31 at 10 25 19 AM

Screenshot 2024-07-31 at 10 33 25 AM

**Ideal outcome:**
Here is an example of what the native feature shows when captions are enabled or disabled:

Screenshot 2024-07-31 at 10 34 56 AM

**Notes:**
This feature is useful to allow customers to natively use Jetpack's Embed feature instead of manually needing to copy the embed code from Instagram.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Instagram Embed Block in Jetpack and compare its current caption behavior with the deprecated Instagram Shortcode's hidecaption=true option and Instagram's native embed setting. Done means the block lets users hide or include the caption and produces the corresponding embed output.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, react, wordpress
Domain
frontend, web-dev
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.