{"id":106,"date":"2018-02-07T10:35:58","date_gmt":"2018-02-07T09:35:58","guid":{"rendered":"https:\/\/demo.brutalistthemes.com\/glitch\/?p=106"},"modified":"2018-02-07T10:35:58","modified_gmt":"2018-02-07T09:35:58","slug":"article-without-featured-image","status":"publish","type":"post","link":"https:\/\/demo.brutalistthemes.com\/8bit\/2018\/02\/07\/article-without-featured-image\/","title":{"rendered":"Code syntax highlighter"},"content":{"rendered":"<div class=\"intro\">\n\tThis is an intro paragraph created with a shortcode<\/div>\n<p>As of version 19.05.09, 8Bit theme includes highlighter.js for code snippets formatting. To use it, just add <code>&lt;pre&gt;&lt;code&gt;Your code&lt;\/code&gt;&lt;\/pre&gt;<\/code><\/p>\n<pre><code><span class=\"hljs-comment\">\/**\n * Limit excerpt to a number of characters without cutting last word\n * \n * <span class=\"hljs-doctag\">@param<\/span> string $excerpt\n * <span class=\"hljs-doctag\">@return<\/span> string\n *\/<\/span>\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">custom_short_excerpt<\/span><span class=\"hljs-params\">($excerpt)<\/span><\/span>{\n\t$limit = <span class=\"hljs-number\">200<\/span>;\n\n\t<span class=\"hljs-keyword\">if<\/span> (strlen($excerpt) &gt; $limit) {\n\t\t<span class=\"hljs-keyword\">return<\/span> substr($excerpt, <span class=\"hljs-number\">0<\/span>, strpos($excerpt, <span class=\"hljs-string\">' '<\/span>, $limit));\n\t}\n\n\t<span class=\"hljs-keyword\">return<\/span> $excerpt;\n}\n\nadd_filter(<span class=\"hljs-string\">'the_excerpt'<\/span>, <span class=\"hljs-string\">'custom_short_excerpt'<\/span>);<\/code><\/pre>\n<p>The following text is from Wikipedia.org and was used here for the sole purpose of this theme demo.<\/p>\n<p>B\u00e9ton brut (french for raw concrete) is a smooth architectural surface made out of concrete. The concrete is left unfinished or roughly-finished after casting and it remains exposed visually. The final surface often shows the forms and structures of the formwork.<\/p>\n<p>The best known proto-Brutalist architecture is the work of the Swiss architect Le Corbusier, in particular his 1952 Unit\u00e9 d&#8217;habitation in France and the 1953 Secretariat Building (Palace of Assembly) in Chandigarh, India. Brutalism gained considerable momentum in the United Kingdom during the mid-twentieth century, as economically depressed (and World War II-ravaged) communities sought inexpensive construction and design methods for low-cost housing, shopping centres, and government buildings.<\/p>\n<div class=\"pull-left\">\n\tThis is a left side pull-quote created with a shortcode<\/div>\n<p>Nonetheless, many architects chose the Brutalist style even when they had large budgets, as they appreciated the &#8216;honesty&#8217;, the sculptural qualities, and perhaps, the uncompromising, anti-bourgeois, nature of the style.<\/p>\n<p>The use of b\u00e9ton brut was pioneered by Auguste Perret and other modern architects. It was used in such buildings as Unit\u00e9 d&#8217;Habitation in the early part of the twentieth century. It flourished as a part of the brutalist architecture of the 1960s and 70s.<\/p>\n<div class=\"pull-right\">\n\tThis is a right side pull-quote created with a shortcode<\/div>\n<p>This largely gave way to structural expressionism as steel structures became more advanced and viable. Wood-imprinted concrete is still very popular in landscaping especially in some of the western European countries.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/demo.brutalistthemes.com\/8bit\/wp-content\/uploads\/sites\/5\/2018\/02\/tim-allen-106622.jpg\" alt=\"\" class=\"alignnone size-full wp-image-16\" width=\"1000\" height=\"667\"><\/p>\n<p>Exposed concrete surfaces can be varied with different formwork shetting (e.g. board shuttering, smooth formwork, form liner, form moulds, filter fleeces) or with surface processing techniques (e.g. washed concrete surfaces, photo concrete, acidified surfaces).[1] Particularly high quality poured concrete, achieved by leaving enough room between the formwork and the reinforcing bars for the concrete to flow freely, is called Sichtbeton in German, cemento a vista in Italian. This translates roughly into &#8220;concrete for viewing.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/demo.brutalistthemes.com\/8bit\/wp-content\/uploads\/sites\/5\/2018\/02\/olia-gozha-377160.jpg\" alt=\"\" class=\"alignnone size-full wp-image-18\" width=\"1000\" height=\"1221\"><\/p>\n<p>Brutalism as an architectural philosophy was often also associated with a socialist utopian ideology, which tended to be supported by its designers, especially Alison and Peter Smithson, near the height of the style. This style had a strong position in the architecture of European communist countries from the mid-1960s to the late 1980s (Bulgaria, Czechoslovakia, GDR, USSR, Yugoslavia). In Czechoslovakia brutalism was presented as an attempt to create a &#8220;national&#8221; but also &#8220;modern socialist&#8221; architectural style.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As of version 19.05.09, 8Bit theme includes highlighter.js for code snippets formatting.  <\/p>\n<pre><code>\/\/ Your code here\nadd_filter(<span class=\"hljs-string\">'the_excerpt'<\/span>, <span class=\"hljs-string\">'custom_short_excerpt'<\/span>);\n<\/code><\/pre>\n<p>. It will automatically detect language.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-modernism"],"_links":{"self":[{"href":"https:\/\/demo.brutalistthemes.com\/8bit\/wp-json\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.brutalistthemes.com\/8bit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demo.brutalistthemes.com\/8bit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demo.brutalistthemes.com\/8bit\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.brutalistthemes.com\/8bit\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":0,"href":"https:\/\/demo.brutalistthemes.com\/8bit\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"wp:attachment":[{"href":"https:\/\/demo.brutalistthemes.com\/8bit\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demo.brutalistthemes.com\/8bit\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demo.brutalistthemes.com\/8bit\/wp-json\/wp\/v2\/tags?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}