{"id":251,"date":"2021-01-03T15:55:01","date_gmt":"2021-01-03T13:55:01","guid":{"rendered":"https:\/\/zanzo.me\/welcome\/?p=251"},"modified":"2021-02-14T18:51:52","modified_gmt":"2021-02-14T16:51:52","slug":"adding-the-blog-section","status":"publish","type":"post","link":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/","title":{"rendered":"The blog section"},"content":{"rendered":"\n<style>\n.author {display:block;}\n<\/style>\n\n\n\n<p>Here is one for the &#8220;after thoughts&#8221;. (Also a good topic to kick-start this blog, I&#8217;d say).<\/p>\n\n\n\n<p>I wanted to include a &#8220;blog&#8221; section on this website. Too bad I used the built-in &#8220;blog functionality&#8221; to create the <a href=\"https:\/\/zanzo.me\/welcome\/know-how\/\">Know-how section<\/a>.<\/p>\n\n\n\n<p>So how to publish two blogs into a single platform, without changing all the theme, reorganising existing content, installing complex plugins, etc.? <\/p>\n\n\n\n<p>Simple:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Publish these posts under a <em>blog<\/em> category<\/li><li>Hide them from the &#8220;normal&#8221; blog feed<\/li><li>Create a page and list only posts within the <em>blog<\/em> category<\/li><\/ul>\n\n\n\n<p>And here go 60 minutes to customise the CSS of some <em>ugly-but-useful<\/em> output spit out by the one plugin I decided to install. Because I&#8217;m too cheap to go and purchase the theme just for one functionality. \ud83d\ude1b<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Note to my future self: if something breaks in the future in the &#8220;Blog&#8221; page (which really is just a static page with a shortcode, not a real blog page), at least I&#8217;ll have a clue on what failed. But until we reach the 15 posts we should be safe. \ud83d\ude07<\/p><\/blockquote>\n\n\n\n<div class=\"linkedin\">\n<div class=\"linkedin_top\"><div class=\"linkedin_name\"><a href=\"https:\/\/www.linkedin.com\/in\/mzanzotera\/\" class=\"linkedin_black\" target=\"_blank\" rel=\"noopener noreferrer\">Marco Zanzotera<\/a><\/div><\/div>\n<div class=\"linkedin_footer\"><a href=\"https:\/\/www.linkedin.com\/in\/mzanzotera\/\" class=\"linkedin_profile\" target=\"_blank\" rel=\"noopener noreferrer\">View profile<\/a><span class=\"linkedin_logo\"><img decoding=\"async\" src=\"https:\/\/zanzo.me\/welcome\/wp-content\/uploads\/2020\/11\/logo_linkedin_93x21_v2.png\"><\/span><\/div>\n<\/div>\n\n\n\n<p><span style=\"color:#828282\" class=\"has-inline-color\"><sub>Header image by <a href=\"https:\/\/pixabay.com\/photos\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1209641\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Free-Photos<\/a> from <a href=\"https:\/\/pixabay.com\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1209641\" target=\"_blank\" rel=\"noreferrer noopener\">Pix<\/a><a href=\"https:\/\/pixabay.com\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1209641\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">a<\/a><a href=\"https:\/\/pixabay.com\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1209641\" target=\"_blank\" rel=\"noreferrer noopener\">bay<\/a><\/sub><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a post to rant about how a silly after-thought (adding a &#8220;blog section&#8221; to the site) resulted in an hour of coding to achieve a sub-optimal result.<br \/>\nWarning: self-pity ahead.<\/p>\n","protected":false},"author":2,"featured_media":304,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"episode_type":"","audio_file":"","podmotor_file_id":"","podmotor_episode_id":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","filesize_raw":"","date_recorded":"","explicit":"","block":"","itunes_episode_number":"","itunes_title":"","itunes_season_number":"","itunes_episode_type":"","footnotes":""},"categories":[23],"tags":[32,29,28,31,30],"class_list":["post-251","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-blog","tag-coding","tag-css","tag-plugins","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The blog section - Marco Zanzotera<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The blog section - Marco Zanzotera\" \/>\n<meta property=\"og:description\" content=\"Here is a post to rant about how a silly after-thought (adding a &quot;blog section&quot; to the site) resulted in an hour of coding to achieve a sub-optimal result. Warning: self-pity ahead.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/\" \/>\n<meta property=\"og:site_name\" content=\"Marco Zanzotera\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-03T13:55:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-14T16:51:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/zanzo.me\/welcome\/wp-content\/uploads\/2021\/01\/computer-1209641_1920.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Marco Zanzotera\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Marco Zanzotera\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/\"},\"author\":{\"name\":\"Marco Zanzotera\",\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/#\\\/schema\\\/person\\\/eafe1f26c38f859d235f0730faddfc35\"},\"headline\":\"The blog section\",\"datePublished\":\"2021-01-03T13:55:01+00:00\",\"dateModified\":\"2021-02-14T16:51:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/\"},\"wordCount\":188,\"publisher\":{\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/#\\\/schema\\\/person\\\/eafe1f26c38f859d235f0730faddfc35\"},\"image\":{\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/computer-1209641_1920.jpg\",\"keywords\":[\"blog\",\"coding\",\"css\",\"plugins\",\"wordpress\"],\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-AU\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/\",\"url\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/\",\"name\":\"The blog section - Marco Zanzotera\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/computer-1209641_1920.jpg\",\"datePublished\":\"2021-01-03T13:55:01+00:00\",\"dateModified\":\"2021-02-14T16:51:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/#breadcrumb\"},\"inLanguage\":\"en-AU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-AU\",\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/#primaryimage\",\"url\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/computer-1209641_1920.jpg\",\"contentUrl\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/computer-1209641_1920.jpg\",\"width\":1920,\"height\":1280},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/blog\\\/adding-the-blog-section\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The blog section\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/#website\",\"url\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/\",\"name\":\"Marco Zanzotera\",\"description\":\"Complex business made simple\",\"publisher\":{\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/#\\\/schema\\\/person\\\/eafe1f26c38f859d235f0730faddfc35\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-AU\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/#\\\/schema\\\/person\\\/eafe1f26c38f859d235f0730faddfc35\",\"name\":\"Marco Zanzotera\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-AU\",\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/CBMS_symbol_transparent_color_onbright@400.png\",\"url\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/CBMS_symbol_transparent_color_onbright@400.png\",\"contentUrl\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/CBMS_symbol_transparent_color_onbright@400.png\",\"width\":400,\"height\":259,\"caption\":\"Marco Zanzotera\"},\"logo\":{\"@id\":\"https:\\\/\\\/zanzo.me\\\/welcome\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/CBMS_symbol_transparent_color_onbright@400.png\"},\"sameAs\":[\"https:\\\/\\\/marco.zanzo.me\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The blog section - Marco Zanzotera","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/","og_locale":"en_US","og_type":"article","og_title":"The blog section - Marco Zanzotera","og_description":"Here is a post to rant about how a silly after-thought (adding a \"blog section\" to the site) resulted in an hour of coding to achieve a sub-optimal result. Warning: self-pity ahead.","og_url":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/","og_site_name":"Marco Zanzotera","article_published_time":"2021-01-03T13:55:01+00:00","article_modified_time":"2021-02-14T16:51:52+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/zanzo.me\/welcome\/wp-content\/uploads\/2021\/01\/computer-1209641_1920.jpg","type":"image\/jpeg"}],"author":"Marco Zanzotera","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Marco Zanzotera","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/#article","isPartOf":{"@id":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/"},"author":{"name":"Marco Zanzotera","@id":"https:\/\/zanzo.me\/welcome\/#\/schema\/person\/eafe1f26c38f859d235f0730faddfc35"},"headline":"The blog section","datePublished":"2021-01-03T13:55:01+00:00","dateModified":"2021-02-14T16:51:52+00:00","mainEntityOfPage":{"@id":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/"},"wordCount":188,"publisher":{"@id":"https:\/\/zanzo.me\/welcome\/#\/schema\/person\/eafe1f26c38f859d235f0730faddfc35"},"image":{"@id":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/#primaryimage"},"thumbnailUrl":"https:\/\/zanzo.me\/welcome\/wp-content\/uploads\/2021\/01\/computer-1209641_1920.jpg","keywords":["blog","coding","css","plugins","wordpress"],"articleSection":["Blog"],"inLanguage":"en-AU"},{"@type":"WebPage","@id":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/","url":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/","name":"The blog section - Marco Zanzotera","isPartOf":{"@id":"https:\/\/zanzo.me\/welcome\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/#primaryimage"},"image":{"@id":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/#primaryimage"},"thumbnailUrl":"https:\/\/zanzo.me\/welcome\/wp-content\/uploads\/2021\/01\/computer-1209641_1920.jpg","datePublished":"2021-01-03T13:55:01+00:00","dateModified":"2021-02-14T16:51:52+00:00","breadcrumb":{"@id":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/#breadcrumb"},"inLanguage":"en-AU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/"]}]},{"@type":"ImageObject","inLanguage":"en-AU","@id":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/#primaryimage","url":"https:\/\/zanzo.me\/welcome\/wp-content\/uploads\/2021\/01\/computer-1209641_1920.jpg","contentUrl":"https:\/\/zanzo.me\/welcome\/wp-content\/uploads\/2021\/01\/computer-1209641_1920.jpg","width":1920,"height":1280},{"@type":"BreadcrumbList","@id":"https:\/\/zanzo.me\/welcome\/blog\/adding-the-blog-section\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zanzo.me\/welcome\/"},{"@type":"ListItem","position":2,"name":"The blog section"}]},{"@type":"WebSite","@id":"https:\/\/zanzo.me\/welcome\/#website","url":"https:\/\/zanzo.me\/welcome\/","name":"Marco Zanzotera","description":"Complex business made simple","publisher":{"@id":"https:\/\/zanzo.me\/welcome\/#\/schema\/person\/eafe1f26c38f859d235f0730faddfc35"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zanzo.me\/welcome\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-AU"},{"@type":["Person","Organization"],"@id":"https:\/\/zanzo.me\/welcome\/#\/schema\/person\/eafe1f26c38f859d235f0730faddfc35","name":"Marco Zanzotera","image":{"@type":"ImageObject","inLanguage":"en-AU","@id":"https:\/\/zanzo.me\/welcome\/wp-content\/uploads\/2020\/11\/CBMS_symbol_transparent_color_onbright@400.png","url":"https:\/\/zanzo.me\/welcome\/wp-content\/uploads\/2020\/11\/CBMS_symbol_transparent_color_onbright@400.png","contentUrl":"https:\/\/zanzo.me\/welcome\/wp-content\/uploads\/2020\/11\/CBMS_symbol_transparent_color_onbright@400.png","width":400,"height":259,"caption":"Marco Zanzotera"},"logo":{"@id":"https:\/\/zanzo.me\/welcome\/wp-content\/uploads\/2020\/11\/CBMS_symbol_transparent_color_onbright@400.png"},"sameAs":["https:\/\/marco.zanzo.me\/"]}]}},"_links":{"self":[{"href":"https:\/\/zanzo.me\/welcome\/wp-json\/wp\/v2\/posts\/251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zanzo.me\/welcome\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zanzo.me\/welcome\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zanzo.me\/welcome\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zanzo.me\/welcome\/wp-json\/wp\/v2\/comments?post=251"}],"version-history":[{"count":7,"href":"https:\/\/zanzo.me\/welcome\/wp-json\/wp\/v2\/posts\/251\/revisions"}],"predecessor-version":[{"id":371,"href":"https:\/\/zanzo.me\/welcome\/wp-json\/wp\/v2\/posts\/251\/revisions\/371"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zanzo.me\/welcome\/wp-json\/wp\/v2\/media\/304"}],"wp:attachment":[{"href":"https:\/\/zanzo.me\/welcome\/wp-json\/wp\/v2\/media?parent=251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zanzo.me\/welcome\/wp-json\/wp\/v2\/categories?post=251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zanzo.me\/welcome\/wp-json\/wp\/v2\/tags?post=251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}