{"id":3197,"date":"2016-11-27T13:45:20","date_gmt":"2016-11-27T12:45:20","guid":{"rendered":"https:\/\/en.florianbrinkmann.de\/?p=3197"},"modified":"2020-02-09T10:59:59","modified_gmt":"2020-02-09T09:59:59","slug":"wordpress-weekly-recap-47-video-headers-in-4-7-and-more","status":"publish","type":"post","link":"https:\/\/florianbrinkmann.com\/en\/wordpress-weekly-recap-47-video-headers-in-4-7-and-more-3197\/","title":{"rendered":"WordPress weekly recap #47: Video headers in 4.7 and more"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">WordPress 4.7 will support video headers. Brady Vercher explains in his post how the new feature can be enabled and displayed by themes.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Accessibility<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Accessibility meeting from November 21<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">On November 21, the accessibility team set its focus for WordPress 4.8: The settings API, a uniform search, and removing inappropriate content from headline elements in the backend. More information about the meeting is available <a href=\"https:\/\/make.wordpress.org\/accessibility\/2016\/11\/22\/summary-meeting-wpa11y-team-november-21-2016\/\">in the post \u00bbSummary meeting WPa11y team, November 21, 2016\u00ab by Rian Rietveld<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Core<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Research for \u00bbPreferred Languages\u00ab project<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The team behind the <em>Preferred Languages<\/em> project wants to develop a solution for language fallbacks in the backend, so that, for example, <em>German formal<\/em> doesn\u2019t fall back to English but <em>German informal<\/em>. The team spent some time to check out the solutions from other systems.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Detailed information about that can be found <a href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/25\/preferred-languages-research\/\">in Pascal Birchler\u2019s post \u00bbPreferred Languages: Research\u00ab<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Extending the Custom CSS editor<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/26\/extending-the-custom-css-editor\/\">In his post \u00bbExtending the Custom CSS editor\u00ab, George Stephanis describes how to extend the Custom CSS editor<\/a>, which will be introduced in WordPress 4.7. He introduces the new filters and shows an example, how an existing option for custom CSS can be migrated into the new core field.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Video headers in 4.7<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The custom header feature will be extended with video support in WordPress 4.7. To enable it, the following code has to be inserted into the theme:<\/p>\n\n\n<pre class=\"wp-block-code lang-php\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">add_theme_support( <span class=\"hljs-string\">'custom-header'<\/span>, <span class=\"hljs-keyword\">array<\/span>(\n <span class=\"hljs-string\">'video'<\/span> =&gt; <span class=\"hljs-keyword\">true<\/span>,\n) );<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Thereby, the customizer section Header Image will be renamed to Header Media and give you the possibility to add a YouTube video or one from the media library. To display the image or video, you can use the new function <code class=\"lang-php\">the_custom_header_markup()<\/code>. A few more information about that can be found <a href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/26\/video-headers-in-4-7\/\">in the post \u00bbVideo Headers in 4.7\u00ab by Brady Vercher<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Misc<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u00bb<a href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/22\/media-changes-in-4-7\/\">Media Changes in 4.7<\/a>\u00ab.<\/li><li>\u00bb<a href=\"https:\/\/make.wordpress.org\/core\/2016\/11\/24\/new-committers\/\">New Committers!<\/a>\u00ab<\/li><li>\u00bb<a href=\"https:\/\/de.wordpress.org\/2016\/11\/wordpress-4-7-release-candidate\/\">WordPress 4.7 Release Candidate<\/a>\u00ab.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Polyglots<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Misc<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u00bb<a href=\"https:\/\/make.wordpress.org\/polyglots\/2016\/11\/23\/notes-from-the-polyglots-chats-on-november-23rd\/\">Notes from the Polyglots chats on November 23rd<\/a>\u00ab.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Community<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Misc<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u00bb<a href=\"https:\/\/make.wordpress.org\/community\/2016\/11\/26\/wordcamp-talks-beta\/\">WordCamp Talks Beta<\/a>\u00ab. A plugin to handle talk submission on WordCamp sites.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>WordPress 4.7 will support video headers. Brady Vercher explains in his post how the new feature can be enabled and displayed by themes.<\/p>\n","protected":false},"author":1,"featured_media":3219,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wpf_show_in_dewp_planet_feed":false,"flobn_post_versions":"","webmentions_disabled_pings":false,"webmentions_disabled":false,"lazy_load_responsive_images_disabled":false,"footnotes":""},"categories":[37],"tags":[116],"class_list":["post-3197","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-wordpress-weekly-recap"],"wp-worthy-pixel":{"ignored":false,"public":"ee5e2a26137e4e5facaf8c76f432b193","server":"vg01.met.vgwort.de","url":"https:\/\/vg01.met.vgwort.de\/na\/ee5e2a26137e4e5facaf8c76f432b193"},"wp-worthy-type":"normal","_links":{"self":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts\/3197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/comments?post=3197"}],"version-history":[{"count":7,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts\/3197\/revisions"}],"predecessor-version":[{"id":5936,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts\/3197\/revisions\/5936"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/media\/3219"}],"wp:attachment":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/media?parent=3197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/categories?post=3197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/tags?post=3197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}