{"id":1018,"date":"2024-01-21T13:07:14","date_gmt":"2024-01-21T13:07:14","guid":{"rendered":"https:\/\/askeladden.flywheelsites.com\/?page_id=1018"},"modified":"2024-05-07T09:33:04","modified_gmt":"2024-05-07T09:33:04","slug":"ask022-wordpress-how-to-build-custom-templates","status":"publish","type":"page","link":"https:\/\/askeladden.in\/?page_id=1018","title":{"rendered":"ASK022 WordPress: How to Build Custom Templates"},"content":{"rendered":"\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"239\" height=\"211\" src=\"https:\/\/askeladden.in\/wp-content\/uploads\/2023\/10\/23-10-24-wordpress-logo.png\" alt=\"\" class=\"wp-image-800\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Useful Links<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/askeladden.in\/?page_id=1014\" title=\"\">ASK022 HOME: WordPress<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Useful Resources<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.hostinger.co.uk\/tutorials\/create-wordpress-theme-html5\" title=\"Hostinger: How to create your own templates\">Hostinger: How to create your own templates<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpzoom.com\/blog\/how-to-create-wordpress-theme\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">How to Create Your Own WordPress Theme (Step-by-Step)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.w3schools.com\/colors\/colors_picker.asp\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">W3Schools Color Picker<\/a><\/li>\n<\/ul>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h3 class=\"wp-block-heading\">Objective<\/h3>\n\n\n\n<p>Create a hosted wordpress site on Hostinger with a custom template to identify the file structure and configuration settings to change the background colours for the RCC website.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Key Configuration Files<\/h3>\n\n\n\n<p>Creating your own custom theme requires at least two templates. The index.php file displays content, while style.css manages the visual theme elements, like fonts.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>header.php<\/strong> \u2013 contains HTML displayed on top of your WordPress website.<\/li>\n\n\n\n<li><strong>footer.php<\/strong> \u2013 stores HTML that goes at the bottom of your website.<\/li>\n\n\n\n<li><strong>sidebar.php<\/strong> \u2013 generates sidebar elements.<\/li>\n\n\n\n<li><strong>functions.php<\/strong> \u2013 adds functionality to the theme, like WordPress widgets.<\/li>\n\n\n\n<li><strong>single.php <\/strong>\u2013 displays a single post, including custom types.<\/li>\n\n\n\n<li><strong>page.php<\/strong> \u2013 shows static content of a single page.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Key WordPress functions<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/get_template_part\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">get_template_part(\u00a0string\u00a0$slug,\u00a0string|null\u00a0$name\u00a0=\u00a0null,\u00a0array\u00a0$args\u00a0=\u00a0array()\u00a0):\u00a0void|false<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/get_header\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">get_header(\u00a0string\u00a0$name\u00a0=\u00a0null,\u00a0array\u00a0$args\u00a0=\u00a0array()\u00a0):\u00a0void|false<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/add_theme_support\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">add_theme_support(\u00a0string\u00a0$feature,\u00a0mixed\u00a0$args\u00a0):\u00a0void|false<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/esc_html__\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">esc_html__(\u00a0string\u00a0$text,\u00a0string\u00a0$domain\u00a0=\u00a0\u2018default\u2019\u00a0):\u00a0string<\/a><\/li>\n<\/ul>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Useful Links Useful Resources Objective Create a hosted wordpress site on Hostinger with a custom template to identify the file structure and configuration settings to change the background colours for the RCC website. Key Configuration Files Creating your own custom theme requires at least two templates. The index.php file displays content, while style.css manages the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1014,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[15,4],"tags":[],"class_list":["post-1018","page","type-page","status-publish","hentry","category-ask022-wordpress-design-maintenance","category-project"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Useful Links ASK022 HOME: Wordpress Useful Resources Hostinger: How to create your own templates How to Create Your Own WordPress Theme (Step-by-Step) W3Schools Color Picker Objective Create a hosted wordpress site on Hostinger with a custom template to identify the file structure and configuration settings to change the background colours for the RCC website. Key\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/askeladden.in\/?page_id=1018\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Askeladden - The Art of Black Box Project Management\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"ASK022 WordPress: How to Build Custom Templates - Askeladden\" \/>\n\t\t<meta property=\"og:description\" content=\"Useful Links ASK022 HOME: Wordpress Useful Resources Hostinger: How to create your own templates How to Create Your Own WordPress Theme (Step-by-Step) W3Schools Color Picker Objective Create a hosted wordpress site on Hostinger with a custom template to identify the file structure and configuration settings to change the background colours for the RCC website. Key\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/askeladden.in\/?page_id=1018\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-01-21T13:07:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-05-07T09:33:04+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"ASK022 WordPress: How to Build Custom Templates - Askeladden\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Useful Links ASK022 HOME: Wordpress Useful Resources Hostinger: How to create your own templates How to Create Your Own WordPress Theme (Step-by-Step) W3Schools Color Picker Objective Create a hosted wordpress site on Hostinger with a custom template to identify the file structure and configuration settings to change the background colours for the RCC website. Key\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/?page_id=1018#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/askeladden.in#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/askeladden.in\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/?page_id=27#listItem\",\"name\":\"Projects\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/?page_id=27#listItem\",\"position\":2,\"name\":\"Projects\",\"item\":\"https:\\\/\\\/askeladden.in\\\/?page_id=27\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/?page_id=1014#listItem\",\"name\":\"ASK022 HOME: WordPress Design &#038; Maintenance\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/askeladden.in#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/?page_id=1014#listItem\",\"position\":3,\"name\":\"ASK022 HOME: WordPress Design &#038; Maintenance\",\"item\":\"https:\\\/\\\/askeladden.in\\\/?page_id=1014\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/?page_id=1018#listItem\",\"name\":\"ASK022 WordPress: How to Build Custom Templates\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/?page_id=27#listItem\",\"name\":\"Projects\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/?page_id=1018#listItem\",\"position\":4,\"name\":\"ASK022 WordPress: How to Build Custom Templates\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/?page_id=1014#listItem\",\"name\":\"ASK022 HOME: WordPress Design &#038; Maintenance\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/#organization\",\"name\":\"Askeladden\",\"description\":\"The Art of Black Box Project Management\",\"url\":\"https:\\\/\\\/askeladden.in\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/?page_id=1018#webpage\",\"url\":\"https:\\\/\\\/askeladden.in\\\/?page_id=1018\",\"name\":\"ASK022 WordPress: How to Build Custom Templates - Askeladden\",\"description\":\"Useful Links ASK022 HOME: Wordpress Useful Resources Hostinger: How to create your own templates How to Create Your Own WordPress Theme (Step-by-Step) W3Schools Color Picker Objective Create a hosted wordpress site on Hostinger with a custom template to identify the file structure and configuration settings to change the background colours for the RCC website. Key\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/askeladden.in\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/askeladden.in\\\/?page_id=1018#breadcrumblist\"},\"datePublished\":\"2024-01-21T13:07:14+00:00\",\"dateModified\":\"2024-05-07T09:33:04+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/askeladden.in\\\/#website\",\"url\":\"https:\\\/\\\/askeladden.in\\\/\",\"name\":\"Askeladden\",\"description\":\"The Art of Black Box Project Management\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/askeladden.in\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"ASK022 WordPress: How to Build Custom Templates - Askeladden","description":"Useful Links ASK022 HOME: Wordpress Useful Resources Hostinger: How to create your own templates How to Create Your Own WordPress Theme (Step-by-Step) W3Schools Color Picker Objective Create a hosted wordpress site on Hostinger with a custom template to identify the file structure and configuration settings to change the background colours for the RCC website. Key","canonical_url":"https:\/\/askeladden.in\/?page_id=1018","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/askeladden.in\/?page_id=1018#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/askeladden.in#listItem","position":1,"name":"Home","item":"https:\/\/askeladden.in","nextItem":{"@type":"ListItem","@id":"https:\/\/askeladden.in\/?page_id=27#listItem","name":"Projects"}},{"@type":"ListItem","@id":"https:\/\/askeladden.in\/?page_id=27#listItem","position":2,"name":"Projects","item":"https:\/\/askeladden.in\/?page_id=27","nextItem":{"@type":"ListItem","@id":"https:\/\/askeladden.in\/?page_id=1014#listItem","name":"ASK022 HOME: WordPress Design &#038; Maintenance"},"previousItem":{"@type":"ListItem","@id":"https:\/\/askeladden.in#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/askeladden.in\/?page_id=1014#listItem","position":3,"name":"ASK022 HOME: WordPress Design &#038; Maintenance","item":"https:\/\/askeladden.in\/?page_id=1014","nextItem":{"@type":"ListItem","@id":"https:\/\/askeladden.in\/?page_id=1018#listItem","name":"ASK022 WordPress: How to Build Custom Templates"},"previousItem":{"@type":"ListItem","@id":"https:\/\/askeladden.in\/?page_id=27#listItem","name":"Projects"}},{"@type":"ListItem","@id":"https:\/\/askeladden.in\/?page_id=1018#listItem","position":4,"name":"ASK022 WordPress: How to Build Custom Templates","previousItem":{"@type":"ListItem","@id":"https:\/\/askeladden.in\/?page_id=1014#listItem","name":"ASK022 HOME: WordPress Design &#038; Maintenance"}}]},{"@type":"Organization","@id":"https:\/\/askeladden.in\/#organization","name":"Askeladden","description":"The Art of Black Box Project Management","url":"https:\/\/askeladden.in\/"},{"@type":"WebPage","@id":"https:\/\/askeladden.in\/?page_id=1018#webpage","url":"https:\/\/askeladden.in\/?page_id=1018","name":"ASK022 WordPress: How to Build Custom Templates - Askeladden","description":"Useful Links ASK022 HOME: Wordpress Useful Resources Hostinger: How to create your own templates How to Create Your Own WordPress Theme (Step-by-Step) W3Schools Color Picker Objective Create a hosted wordpress site on Hostinger with a custom template to identify the file structure and configuration settings to change the background colours for the RCC website. Key","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/askeladden.in\/#website"},"breadcrumb":{"@id":"https:\/\/askeladden.in\/?page_id=1018#breadcrumblist"},"datePublished":"2024-01-21T13:07:14+00:00","dateModified":"2024-05-07T09:33:04+00:00"},{"@type":"WebSite","@id":"https:\/\/askeladden.in\/#website","url":"https:\/\/askeladden.in\/","name":"Askeladden","description":"The Art of Black Box Project Management","inLanguage":"en-GB","publisher":{"@id":"https:\/\/askeladden.in\/#organization"}}]},"og:locale":"en_GB","og:site_name":"Askeladden - The Art of Black Box Project Management","og:type":"article","og:title":"ASK022 WordPress: How to Build Custom Templates - Askeladden","og:description":"Useful Links ASK022 HOME: Wordpress Useful Resources Hostinger: How to create your own templates How to Create Your Own WordPress Theme (Step-by-Step) W3Schools Color Picker Objective Create a hosted wordpress site on Hostinger with a custom template to identify the file structure and configuration settings to change the background colours for the RCC website. Key","og:url":"https:\/\/askeladden.in\/?page_id=1018","article:published_time":"2024-01-21T13:07:14+00:00","article:modified_time":"2024-05-07T09:33:04+00:00","twitter:card":"summary_large_image","twitter:title":"ASK022 WordPress: How to Build Custom Templates - Askeladden","twitter:description":"Useful Links ASK022 HOME: Wordpress Useful Resources Hostinger: How to create your own templates How to Create Your Own WordPress Theme (Step-by-Step) W3Schools Color Picker Objective Create a hosted wordpress site on Hostinger with a custom template to identify the file structure and configuration settings to change the background colours for the RCC website. Key"},"aioseo_meta_data":{"post_id":"1018","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"WebPage","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-01-21 13:07:16","updated":"2025-09-28 03:35:30","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/askeladden.in\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/askeladden.in\/?page_id=27\" title=\"Projects\">Projects<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/askeladden.in\/?page_id=1014\" title=\"ASK022 HOME: WordPress Design &amp; Maintenance\">ASK022 HOME: WordPress Design &amp; Maintenance<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tASK022 WordPress: How to Build Custom Templates\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/askeladden.in"},{"label":"Projects","link":"https:\/\/askeladden.in\/?page_id=27"},{"label":"ASK022 HOME: WordPress Design &#038; Maintenance","link":"https:\/\/askeladden.in\/?page_id=1014"},{"label":"ASK022 WordPress: How to Build Custom Templates","link":"https:\/\/askeladden.in\/?page_id=1018"}],"_links":{"self":[{"href":"https:\/\/askeladden.in\/index.php?rest_route=\/wp\/v2\/pages\/1018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/askeladden.in\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/askeladden.in\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/askeladden.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/askeladden.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1018"}],"version-history":[{"count":9,"href":"https:\/\/askeladden.in\/index.php?rest_route=\/wp\/v2\/pages\/1018\/revisions"}],"predecessor-version":[{"id":1172,"href":"https:\/\/askeladden.in\/index.php?rest_route=\/wp\/v2\/pages\/1018\/revisions\/1172"}],"up":[{"embeddable":true,"href":"https:\/\/askeladden.in\/index.php?rest_route=\/wp\/v2\/pages\/1014"}],"wp:attachment":[{"href":"https:\/\/askeladden.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/askeladden.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/askeladden.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}