{"id":1085,"date":"2016-09-06T21:51:15","date_gmt":"2016-09-06T21:51:15","guid":{"rendered":"https:\/\/learnwebcode.com\/?p=1085"},"modified":"2016-09-06T21:57:07","modified_gmt":"2016-09-06T21:57:07","slug":"wordpress-editable-theme-content-tutorial","status":"publish","type":"post","link":"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/","title":{"rendered":"WordPress Editable Theme Content Tutorial"},"content":{"rendered":"<p>WordPress makes it easy for theme developers to add editable content regions that can be managed from the WordPress admin screens. In this lesson we learn how to add a custom textfield, textarea, image upload (with custom aspect ratio cropping), and a select dropdown. All of this comes together to create a completely custom &#8220;callout&#8221; area in the footer of the website.<\/p>\n<div class=\"video-container\">\n<div class=\"video-container-inner\"><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"\/\/www.youtube.com\/embed\/YzNfIM_9TaM\" frameborder=\"0\" allowfullscreen><\/iframe><\/div>\n<\/div>\n<p><a href=\"https:\/\/learnwebcode.com\/tutorial-files\/wp-theme-step-16.zip\">Link to download .zip of theme files as shown in this video<\/a> (note: this is not a &#8220;complete&#8221; WordPress theme yet and this download is only intended for educational purposes to dissect and review).<\/p>\n<p>Here&#8217;s a <a href=\"https:\/\/www.udemy.com\/git-a-web-developer-job-mastering-the-modern-workflow\/?couponCode=LWCSITE24\"><strong>link to the new video course<\/strong><\/a> I mention at the end of the video.<\/p>\n<p><a href=\"https:\/\/learnwebcode.com\/learn-wordpress\/\">View the entire &#8220;Learn WordPress&#8221; series<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress makes it easy for theme developers to add editable content regions that can be managed from the WordPress admin screens. In this lesson we learn how to add a custom textfield, textarea, image upload (with custom aspect ratio cropping), and a select dropdown. All of this comes together to create a completely custom &#8220;callout&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1085","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WordPress Editable Theme Content Tutorial - LearnWebCode<\/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:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress Editable Theme Content Tutorial - LearnWebCode\" \/>\n<meta property=\"og:description\" content=\"WordPress makes it easy for theme developers to add editable content regions that can be managed from the WordPress admin screens. In this lesson we learn how to add a custom textfield, textarea, image upload (with custom aspect ratio cropping), and a select dropdown. All of this comes together to create a completely custom &#8220;callout&#8221; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/\" \/>\n<meta property=\"og:site_name\" content=\"LearnWebCode\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-06T21:51:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-09-06T21:57:07+00:00\" \/>\n<meta name=\"author\" content=\"Brad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brad\" \/>\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:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/\"},\"author\":{\"name\":\"Brad\",\"@id\":\"https:\/\/learnwebcode.com\/#\/schema\/person\/db825ebc5a08e39b01de31771e4c7fe6\"},\"headline\":\"WordPress Editable Theme Content Tutorial\",\"datePublished\":\"2016-09-06T21:51:15+00:00\",\"dateModified\":\"2016-09-06T21:57:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/\"},\"wordCount\":124,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/learnwebcode.com\/#\/schema\/person\/db825ebc5a08e39b01de31771e4c7fe6\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/\",\"url\":\"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/\",\"name\":\"WordPress Editable Theme Content Tutorial - LearnWebCode\",\"isPartOf\":{\"@id\":\"https:\/\/learnwebcode.com\/#website\"},\"datePublished\":\"2016-09-06T21:51:15+00:00\",\"dateModified\":\"2016-09-06T21:57:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learnwebcode.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress Editable Theme Content Tutorial\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learnwebcode.com\/#website\",\"url\":\"https:\/\/learnwebcode.com\/\",\"name\":\"LearnWebCode\",\"description\":\"Become a Web Developer\",\"publisher\":{\"@id\":\"https:\/\/learnwebcode.com\/#\/schema\/person\/db825ebc5a08e39b01de31771e4c7fe6\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learnwebcode.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/learnwebcode.com\/#\/schema\/person\/db825ebc5a08e39b01de31771e4c7fe6\",\"name\":\"Brad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learnwebcode.com\/wp-content\/uploads\/0UWl0Tet_400x400.jpg\",\"url\":\"https:\/\/learnwebcode.com\/wp-content\/uploads\/0UWl0Tet_400x400.jpg\",\"contentUrl\":\"https:\/\/learnwebcode.com\/wp-content\/uploads\/0UWl0Tet_400x400.jpg\",\"width\":400,\"height\":400,\"caption\":\"Brad\"},\"logo\":{\"@id\":\"https:\/\/learnwebcode.com\/wp-content\/uploads\/0UWl0Tet_400x400.jpg\"},\"url\":\"https:\/\/learnwebcode.com\/author\/lwcadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WordPress Editable Theme Content Tutorial - LearnWebCode","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:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/","og_locale":"en_US","og_type":"article","og_title":"WordPress Editable Theme Content Tutorial - LearnWebCode","og_description":"WordPress makes it easy for theme developers to add editable content regions that can be managed from the WordPress admin screens. In this lesson we learn how to add a custom textfield, textarea, image upload (with custom aspect ratio cropping), and a select dropdown. All of this comes together to create a completely custom &#8220;callout&#8221; [&hellip;]","og_url":"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/","og_site_name":"LearnWebCode","article_published_time":"2016-09-06T21:51:15+00:00","article_modified_time":"2016-09-06T21:57:07+00:00","author":"Brad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Brad","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/#article","isPartOf":{"@id":"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/"},"author":{"name":"Brad","@id":"https:\/\/learnwebcode.com\/#\/schema\/person\/db825ebc5a08e39b01de31771e4c7fe6"},"headline":"WordPress Editable Theme Content Tutorial","datePublished":"2016-09-06T21:51:15+00:00","dateModified":"2016-09-06T21:57:07+00:00","mainEntityOfPage":{"@id":"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/"},"wordCount":124,"commentCount":2,"publisher":{"@id":"https:\/\/learnwebcode.com\/#\/schema\/person\/db825ebc5a08e39b01de31771e4c7fe6"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/","url":"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/","name":"WordPress Editable Theme Content Tutorial - LearnWebCode","isPartOf":{"@id":"https:\/\/learnwebcode.com\/#website"},"datePublished":"2016-09-06T21:51:15+00:00","dateModified":"2016-09-06T21:57:07+00:00","breadcrumb":{"@id":"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learnwebcode.com\/wordpress-editable-theme-content-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learnwebcode.com\/"},{"@type":"ListItem","position":2,"name":"WordPress Editable Theme Content Tutorial"}]},{"@type":"WebSite","@id":"https:\/\/learnwebcode.com\/#website","url":"https:\/\/learnwebcode.com\/","name":"LearnWebCode","description":"Become a Web Developer","publisher":{"@id":"https:\/\/learnwebcode.com\/#\/schema\/person\/db825ebc5a08e39b01de31771e4c7fe6"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learnwebcode.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/learnwebcode.com\/#\/schema\/person\/db825ebc5a08e39b01de31771e4c7fe6","name":"Brad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learnwebcode.com\/wp-content\/uploads\/0UWl0Tet_400x400.jpg","url":"https:\/\/learnwebcode.com\/wp-content\/uploads\/0UWl0Tet_400x400.jpg","contentUrl":"https:\/\/learnwebcode.com\/wp-content\/uploads\/0UWl0Tet_400x400.jpg","width":400,"height":400,"caption":"Brad"},"logo":{"@id":"https:\/\/learnwebcode.com\/wp-content\/uploads\/0UWl0Tet_400x400.jpg"},"url":"https:\/\/learnwebcode.com\/author\/lwcadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/learnwebcode.com\/wp-json\/wp\/v2\/posts\/1085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learnwebcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learnwebcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learnwebcode.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnwebcode.com\/wp-json\/wp\/v2\/comments?post=1085"}],"version-history":[{"count":3,"href":"https:\/\/learnwebcode.com\/wp-json\/wp\/v2\/posts\/1085\/revisions"}],"predecessor-version":[{"id":1090,"href":"https:\/\/learnwebcode.com\/wp-json\/wp\/v2\/posts\/1085\/revisions\/1090"}],"wp:attachment":[{"href":"https:\/\/learnwebcode.com\/wp-json\/wp\/v2\/media?parent=1085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learnwebcode.com\/wp-json\/wp\/v2\/categories?post=1085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learnwebcode.com\/wp-json\/wp\/v2\/tags?post=1085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}