{"id":6994168,"date":"2016-01-27T12:13:51","date_gmt":"2016-01-27T12:13:51","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/flags-in-select-list-widget\/"},"modified":"2016-08-31T00:57:18","modified_gmt":"2016-08-31T00:57:18","slug":"flags-in-select-list-widget","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/flags-in-select-list-widget\/","title":{"rendered":"Flags in Select List Widget"},"content":{"rendered":"<p>I have created CSS to add images to the select list in the language switcher widget. However, I cannot get the icon to show in the currently selected item. I have searched for ways to do this with CSS only. Is there any custom PHP filter that I can add to keep the icon in the selected item?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/polylang\/<\/p>\n","protected":false},"template":"","class_list":["post-6994168","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6994168","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\/6994168\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6994168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}