WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#38128 new enhancement

Twitter Embed - Enhancement change theme

Reported by: Deexgnome Owned by:
Milestone: Future Release Priority: lowest
Severity: normal Version:
Component: Embeds Keywords: needs-patch
Focuses: Cc:
PR Number:

Description

I would like to suggest to add a option to set the twitter embed theme.
Currently you only can use the standard White Theme, some possibility to customize it to dark as example for dark sites would be great.

Change History (4)

#1 @SergeyBiryukov
3 years ago

  • Component changed from Options, Meta APIs to Embeds

#2 @johnbillion
3 years ago

  • Keywords reporter-feedback close added
  • Priority changed from normal to lowest
  • Version 4.6.1 deleted

Unless this is something that Twitter exposes via their oEmbed API, this is a wontfix I'm afraid. Some links to docs would help assess this.

#3 @luukdv
3 years ago

Don't know if it's worth adding an option for, but it seems to be possible to set a dark theme through the API: https://dev.twitter.com/web/embedded-tweets/parameters#parameters

#4 @swissspidy
3 years ago

  • Keywords needs-patch added; reporter-feedback close removed
  • Milestone changed from Awaiting Review to Future Release

Just checked, the oEmbed API indeed accepts the theme parameter among many others: https://dev.twitter.com/rest/reference/get/statuses/oembed

Note: See TracTickets for help on using tickets.