{"id":2582232,"date":"2012-02-20T06:59:16","date_gmt":"2012-02-20T06:59:16","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-social-media-tracking-fb-like-dark-theme\/"},"modified":"2016-08-20T05:09:02","modified_gmt":"2016-08-20T05:09:02","slug":"plugin-social-media-tracking-fb-like-dark-theme","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-social-media-tracking-fb-like-dark-theme\/","title":{"rendered":"[Plugin: Social Media Tracking] FB Like dark theme?"},"content":{"rendered":"<p>My theme has a black background so I have edited the plugin to choose the dark theme for the FB Like button.<\/p>\n<p>Is there a less hacky way of doing this?<\/p>\n<p>If anyone else wants to do this here&#8217;s how I did it:<br \/>\n1. Open \/buttons\/Facebook.php (I used the Edit form in the Dashboard)<br \/>\n2. Look for the DIV that creates the FB button (about line 79)<br \/>\n3. Add this parameter inside the DIV tag:<br \/>\n    data-colorscheme=&#8221;dark&#8221; <\/p>\n<p>&#8211; Dunc<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/social-media-tracking\/<\/p>\n","protected":false},"template":"","class_list":["post-2582232","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2582232","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\/2582232\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2582232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}