{"id":154,"date":"2017-12-06T16:32:08","date_gmt":"2017-12-06T15:32:08","guid":{"rendered":"https:\/\/themedemos.webmandesign.eu\/reykjavik\/?p=154"},"modified":"2017-12-06T16:32:08","modified_gmt":"2017-12-06T15:32:08","slug":"post-1","status":"publish","type":"post","link":"https:\/\/lextela.com\/orateurs\/post-1\/","title":{"rendered":"How to use post formats with Modern theme?"},"content":{"rendered":"<h2>What is a post format?<\/h2>\n<p>A post format is used by a theme for presenting posts in a certain format and style, such as &#8220;standard&#8221;, &#8220;image&#8221;, &#8220;gallery&#8221; &#8220;audio&#8221;, &#8220;video&#8221;, &#8220;quote&#8221;, &#8220;status&#8221;, &#8220;aside&#8221;, &#8220;link&#8221; and\/or a &#8220;chat&#8221; post.\u00a0You can actually read thorough <a href=\"https:\/\/developer.wordpress.org\/themes\/functionality\/post-formats\/\" target=\"_blank\" rel=\"noopener noreferrer\">explanation of\u00a0post formats<\/a>\u00a0on WordPress codex pages. (Post formats should not be confused with <a href=\"https:\/\/developer.wordpress.org\/themes\/basics\/post-types\/\" target=\"_blank\" rel=\"noopener noreferrer\">post types<\/a>!)<\/p>\n<h2>Post formats supported in Modern<\/h2>\n<p>Post formats styling and support is left solely for a theme you are using. Here is how you use post formats supported in Modern WordPress theme:<\/p>\n<ul class=\"inline\">\n<li><strong><a href=\"#audio\">Audio<\/a><\/strong><\/li>\n<li><strong><a href=\"#gallery\">Gallery<\/a><\/strong><\/li>\n<li><strong><a href=\"#image\">Image<\/a><\/strong><\/li>\n<li><strong><a href=\"#link\">Link<\/a><\/strong><\/li>\n<li><strong><a href=\"#quote\">Quote<\/a><\/strong><\/li>\n<li><strong><a href=\"#status\">Status<\/a><\/strong><\/li>\n<li><strong><a href=\"#video\">Video<\/a><\/strong><\/li>\n<\/ul>\n<hr id=\"audio\" \/>\n<h3 class=\"weight-400\"><strong>Audio<\/strong> <small>post format<\/small><\/h3>\n<p>Displays audio player (or playlist) to play your audio files. Could be used for podcasting.<\/p>\n<p><a href=\"https:\/\/codex.wordpress.org\/Audio_Shortcode\" target=\"_blank\" rel=\"noopener\">Insert your audio player (or playlist)<\/a>\u00a0(or embed media)\u00a0anywhere in the post content. The first audio player found will be used in the post media area in posts list. The single post page will display as usual.<\/p>\n<hr id=\"gallery\" \/>\n<h3 class=\"weight-400\"><strong>Gallery<\/strong> <small>post format<\/small><\/h3>\n<p><a href=\"https:\/\/codex.wordpress.org\/Gallery_Shortcode\" target=\"_blank\" rel=\"noopener\">Insert a gallery<\/a>\u00a0anywhere in the post content. The first 3 gallery images will be used in slideshow in the post media area in posts list. The single post page will display as usual.<\/p>\n<hr id=\"image\" \/>\n<h3 class=\"weight-400\"><strong>Image<\/strong> <small>post format<\/small><\/h3>\n<p>In posts list it displays a featured image, or the first image found in post content, followed with post excerpt. Font sizes in posts list are different than in default standard post format. This post format is also marked with an image icon. The single post page will display as usual.<\/p>\n<hr id=\"link\" \/>\n<h3 class=\"weight-400\"><strong>Link<\/strong> <small>post format<\/small><\/h3>\n<p>It enhances any links in the post content. No post title in posts list and full post content is displayed there.<\/p>\n<hr id=\"quote\" \/>\n<h3 class=\"weight-400\"><strong>Quote<\/strong> <small>post format<\/small><\/h3>\n<p>Displays a full post content as a quote, styled with accent colors. Also displays a post featured image if set.<\/p>\n<p>You can use a <code>cite<\/code> HTML tag (inside a <code>blockquote<\/code> tag) to set the quote source. This way you can use any inline HTML to set the quote source.<br \/>\nAlternatively, you can set the quote source as a <code>quote_source<\/code> custom field, but there is no HTML allowed here.<br \/>\nFinally, if none of these are set, the post title is displayed as quote source.<\/p>\n<hr id=\"status\" \/>\n<h3 class=\"weight-400\"><strong>Status<\/strong> <small>post format<\/small><\/h3>\n<p>Status post format displays a whole post content in posts list.\u00a0It is a short status update, similar to a Twitter status update. You can also set a post featured image, or the <a href=\"https:\/\/gravatar.com\" target=\"_blank\" rel=\"noopener\">post author Gravatar<\/a> will be displayed instead.<\/p>\n<hr id=\"video\" \/>\n<h3 class=\"weight-400\"><strong>Video<\/strong> <small>post format<\/small><\/h3>\n<p>Displays video player (or playlist) to play your video files. Could be used for video blogging.<\/p>\n<p><a href=\"https:\/\/codex.wordpress.org\/Video_Shortcode\" target=\"_blank\" rel=\"noopener\">Insert your video player (or playlist)<\/a>\u00a0(or embed media) anywhere in the post content. The first video player found will be used in the post media area in posts list. The single post page will display as usual.<\/p>\n<hr \/>\n<p>If you experience any difficulty setting up post formats, please <a href=\"https:\/\/www.webmandesign.eu\/reference\/#links-support\">contact theme support<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"entry-summary\">\nWhat are post formats, how they display and how to use them in this WordPress theme? Find out more in this tutorial article.\n<\/div>\n<div class=\"link-more-container\"><a href=\"https:\/\/lextela.com\/orateurs\/post-1\/\" class=\"link-more\" aria-label=\"Continue reading How to use post formats with Modern theme?\">Continue reading&hellip;<\/a><\/div>\n","protected":false},"author":1,"featured_media":420,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"page-template\/_sidebar.php","format":"standard","meta":{"footnotes":""},"categories":[7,9],"tags":[13,16],"class_list":["post-154","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-journal","category-tutorials","tag-post-formats","tag-with-sidebar","entry","entry-type-post"],"_links":{"self":[{"href":"https:\/\/lextela.com\/orateurs\/wp-json\/wp\/v2\/posts\/154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lextela.com\/orateurs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lextela.com\/orateurs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lextela.com\/orateurs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lextela.com\/orateurs\/wp-json\/wp\/v2\/comments?post=154"}],"version-history":[{"count":0,"href":"https:\/\/lextela.com\/orateurs\/wp-json\/wp\/v2\/posts\/154\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lextela.com\/orateurs\/wp-json\/wp\/v2\/media\/420"}],"wp:attachment":[{"href":"https:\/\/lextela.com\/orateurs\/wp-json\/wp\/v2\/media?parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lextela.com\/orateurs\/wp-json\/wp\/v2\/categories?post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lextela.com\/orateurs\/wp-json\/wp\/v2\/tags?post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}