{"id":500,"date":"2016-03-21T16:23:46","date_gmt":"2016-03-21T15:23:46","guid":{"rendered":"http:\/\/meteotemplate.com\/blog\/?p=500"},"modified":"2016-03-21T16:23:46","modified_gmt":"2016-03-21T15:23:46","slug":"new-block-twitter-feed","status":"publish","type":"post","link":"https:\/\/meteotemplate.com\/blog\/?p=500","title":{"rendered":"New Block &#8211; Twitter Feed"},"content":{"rendered":"<p>Twitter is celebrating 10 years of existence today! So let\u00b4s celebrate by a new <span style=\"color: #ff0000;\"><strong>Twitter Feed block<\/strong><\/span>.<\/p>\n<p>This block connects directly to the Twitter API and allows you to display your tweets as well as your and your friend\u00b4s tweets.<\/p>\n<p>Because it does not use the built-in widget, but rather the API directly, it can nicely fit into your template styling, uses caching and you can also specify the maximum number of tweets to display.<\/p>\n<p>You will need to get a few API keys and tokens, instructions about how to do this are included in the settings.php.<\/p>\n<p>&nbsp;<\/p>\n<p>I have also updated the <span style=\"color: #ff0000;\"><strong>Current block<\/strong><\/span>, which now has the option to show wind direction not as degrees, but as an abbreviation (N, NNE etc. using your language settings) and a little arrow image.<\/p>\n<p>Enjoy<\/p>\n<p>Jachym<\/p>\n<div style=\"min-height: 30px;display: inline-block;\"><input id=\"500\" style=\"float: right;max-width: 50px;\" src=\"https:\/\/meteotemplate.com\/blog\/wp-content\/plugins\/wp-advanced-pdf\/asset\/images\/pdf.png\" alt=\"#TB_inline?height=230&amp;width=400&amp;inlineId=examplePopup1\" title=\"Export pdf to your Email\" class=\"thickbox export-pdf\" type=\"image\" value=\"Export to PDF\" \/><\/div>","protected":false},"excerpt":{"rendered":"<p>Twitter is celebrating 10 years of existence today! So let\u00b4s celebrate by a new Twitter Feed block. This block connects directly to the Twitter API and allows you to display your tweets as well as your and your friend\u00b4s tweets. Because it does not use the built-in widget, but rather the API directly, it can &#8230; <a title=\"New Block &#8211; Twitter Feed\" class=\"read-more\" href=\"https:\/\/meteotemplate.com\/blog\/?p=500\">Read more<span class=\"screen-reader-text\">New Block &#8211; Twitter Feed<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":501,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[85],"tags":[89,96,128],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/meteotemplate.com\/blog\/wp-content\/uploads\/2016\/03\/twitter_circle_color-128.png","_links":{"self":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/500"}],"collection":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=500"}],"version-history":[{"count":1,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/500\/revisions"}],"predecessor-version":[{"id":502,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/500\/revisions\/502"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/501"}],"wp:attachment":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}