{"id":4570080,"date":"2014-02-03T03:47:37","date_gmt":"2014-02-03T03:47:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/data-chrome-in-twitter-timeline-shorcode\/"},"modified":"2016-08-21T15:25:36","modified_gmt":"2016-08-21T15:25:36","slug":"data-chrome-in-twitter-timeline-shorcode","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/data-chrome-in-twitter-timeline-shorcode\/","title":{"rendered":"data-chrome in Twitter Timeline shorcode"},"content":{"rendered":"<p>I&#8217;m trying to embed a twitter timeline with a shortcode on a page.<br \/>\n<code>[twitter-timeline id=xxx username=yyy]<\/code><br \/>\nbut I&#8217;d like to call the data-chrome=transparent property.<br \/>\nI tried<br \/>\n<code>[twitter-timeline id=xxx username=yyy data-chrome=&quot;transparent&quot;]<\/code><br \/>\nwithout success.<br \/>\nIs it possible to do this? &#8211; and if so, what&#8217;s the syntax?<\/p>\n<p>It&#8217;s an option in the widget version, but I can&#8217;t seem to find any documentation on how to call the property from the shortcode.<br \/>\nThis is from Twitter&#8217;s how-to page:<\/p>\n<blockquote>\n<p>Chrome: Control the widget layout and chrome by using the data-chrome=&#8221;nofooter transparent&#8221; attribute on the embed code. Use a space-separated set of the following options:<br \/>\nnoheader: Hides the timeline header. Please refer to the timeline display requirements when implementing your own header.<br \/>\nnofooter: Hides the timeline footer and Tweet box, if included.<br \/>\nnoborders: Removes all borders within the widget (between Tweets, cards, around the widget.) See also: border-color.<br \/>\nnoscrollbar: Crops and hides the main timeline scrollbar, if visible. Please consider that hiding standard user interface components can affect the accessibility of your website.<br \/>\ntransparent: Removes the background color.\n<\/p>\n<\/blockquote>\n","protected":false},"template":"","class_list":["post-4570080","topic","type-topic","status-closed","hentry","topic-tag-shortcode","topic-tag-transparent"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4570080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4570080\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4570080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}