Make WordPress Core

Opened 8 years ago

Last modified 16 months ago

#38128 new enhancement

Twitter Embed - Enhancement change theme

Reported by: deexgnome's profile Deexgnome Owned by:
Milestone: Future Release Priority: lowest
Severity: normal Version:
Component: Embeds Keywords: needs-patch
Focuses: Cc:

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 (5)

#1 @SergeyBiryukov
8 years ago

  • Component changed from Options, Meta APIs to Embeds

#2 @johnbillion
8 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
8 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
7 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

#5 @swissspidy
16 months ago

Updated API docs: https://developer.twitter.com/en/docs/twitter-for-websites/oembed-api#item1

Looks like they have some other useful params as well that could be added, assuming they're stable: hide_media, hide_thread

Note: See TracTickets for help on using tickets.