{"id":99992,"date":"2013-10-22T16:25:08","date_gmt":"2013-10-22T21:25:08","guid":{"rendered":"https:\/\/www.bluehost.com\/blog\/custom-wordpress-page-templates\/"},"modified":"2013-10-22T16:25:08","modified_gmt":"2013-10-22T21:25:08","slug":"custom-wordpress-page-templates","status":"publish","type":"post","link":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/","title":{"rendered":"Custom WordPress Page Templates"},"content":{"rendered":"<p>If you&#8217;ve ever found a WordPress theme that you really liked, but it just needed a few tweaks to make it work for you, this tip may be really helpful. Adding an additional page template to your WordPress theme is very easy. Some themes even come with multiple page templates. If you have a specific need, you can add a custom template. <!--more--><br \/>\nWe are going to assume you have build a child theme before making any changes.\u00a0First, you need to create a file in your child theme folder named {custom-identifier}-page.php then add the following code to the top of the file.<\/p>\n<pre>&lt;?php\n\/*\nTemplate Name: Custom Identifier\n*\/<\/pre>\n<p>I like to keep the name and file very similar that way you can identify the file easily if you need to make any changes. The \u201cTemplate Name\u201d will show up in a dropdown list on the edit page.<\/p>\n<p style=\"text-align: center\">\n<p style=\"text-align: center\">(click image to enlarge)<\/p>\n<p>If you only need to make minor changes from an existing template you can copy the code from the page.php file as a start. Then add\/edit the code to meet your needs.<br \/>\nA couple things to remember about Page Templates is they are for \u201cany\u201d page and may not be the best solution if you will only ever need the template on one page. There are other naming fall backs that may work better for that situation.<br \/>\nAdding an additional and\/or custom template is a great WordPress feature that allows you to make your site just the way you want it. Give it a try and make sure to check back for more great WordPress tips!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve ever found a WordPress theme that you really liked, but it just needed a few tweaks to make it work for you, this tip may be really helpful. Adding an additional page template to your WordPress theme is very easy. Some themes even come with multiple page templates. If you have a specific [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":240661,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_title":"Custom WordPress Page Templates","_yoast_wpseo_metadesc":"","inline_featured_image":false,"footnotes":""},"categories":[3263,984],"tags":[3431,3457],"ppma_author":[609],"class_list":["post-99992","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","category-wordpress","tag-cms","tag-tutorials"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.1 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Custom WordPress Page Templates - Bluehost Blog<\/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:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/posts\/99992\/\" \/>\n<meta property=\"og:locale\" content=\"en_IN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom WordPress Page Templates\" \/>\n<meta property=\"og:description\" content=\"If you&#8217;ve ever found a WordPress theme that you really liked, but it just needed a few tweaks to make it work for you, this tip may be really helpful. Adding an additional page template to your WordPress theme is very easy. Some themes even come with multiple page templates. If you have a specific [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/\" \/>\n<meta property=\"og:site_name\" content=\"Bluehost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bluehost\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-10-22T21:25:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/01\/wondersuite-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1199\" \/>\n\t<meta property=\"og:image:height\" content=\"618\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mike Hansen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bluehost\" \/>\n<meta name=\"twitter:site\" content=\"@bluehost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mike Hansen\" \/>\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:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/\"},\"author\":{\"name\":\"Mike Hansen\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/#\/schema\/person\/f2df3529633c67a1f1120725b85d43e2\"},\"headline\":\"Custom WordPress Page Templates\",\"datePublished\":\"2013-10-22T21:25:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/\"},\"wordCount\":271,\"publisher\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2025\/09\/default-bh.png\",\"keywords\":[\"CMS\",\"Tutorials\"],\"articleSection\":[\"Development\",\"WordPress\"],\"inLanguage\":\"en-IN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/\",\"url\":\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/\",\"name\":\"Custom WordPress Page Templates - Bluehost Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2025\/09\/default-bh.png\",\"datePublished\":\"2013-10-22T21:25:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#breadcrumb\"},\"inLanguage\":\"en-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#primaryimage\",\"url\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2025\/09\/default-bh.png\",\"contentUrl\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2025\/09\/default-bh.png\",\"width\":1200,\"height\":629},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/www.bluehost.com\/in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Uncategorized @en-in\",\"item\":\"https:\/\/www.bluehost.com\/blog\/en-in\/category\/uncategorized\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Custom WordPress Page Templates\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/#website\",\"url\":\"https:\/\/www.bluehost.com\/blog\/en-in\/\",\"name\":\"Bluehost\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.bluehost.com\/blog\/en-in\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/#organization\",\"name\":\"Bluehost\",\"url\":\"https:\/\/www.bluehost.com\/blog\/en-in\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2023\/08\/bluehost-logo.svg\",\"contentUrl\":\"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2023\/08\/bluehost-logo.svg\",\"width\":136,\"height\":24,\"caption\":\"Bluehost\"},\"image\":{\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/bluehost\/\",\"https:\/\/x.com\/bluehost\",\"https:\/\/www.linkedin.com\/company\/bluehost-com\/\",\"https:\/\/www.youtube.com\/user\/bluehost\",\"https:\/\/en.wikipedia.org\/wiki\/Bluehost\"],\"description\":\"Bluehost is a leading web hosting provider empowering millions of websites worldwide. \\u2028Discover how Bluehost's expertise, reliability, and innovation can help you achieve your online goals.\",\"telephone\":\"+1-888-401-4678\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/#\/schema\/person\/f2df3529633c67a1f1120725b85d43e2\",\"name\":\"Mike Hansen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\/\/www.bluehost.com\/blog\/en-in\/#\/schema\/person\/image\/1a2043d27d24b451e44bfbaa4439ed9a\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d85ca8906411a7c17e0a2136327bbcc4e5ea766056a8059f2b8d7ed968d84e5e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d85ca8906411a7c17e0a2136327bbcc4e5ea766056a8059f2b8d7ed968d84e5e?s=96&d=mm&r=g\",\"caption\":\"Mike Hansen\"},\"url\":\"https:\/\/www.bluehost.com\/blog\/en-in\/author\/mikehansenme\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Custom WordPress Page Templates - Bluehost Blog","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:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/posts\/99992\/","og_locale":"en_IN","og_type":"article","og_title":"Custom WordPress Page Templates","og_description":"If you&#8217;ve ever found a WordPress theme that you really liked, but it just needed a few tweaks to make it work for you, this tip may be really helpful. Adding an additional page template to your WordPress theme is very easy. Some themes even come with multiple page templates. If you have a specific [&hellip;]","og_url":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/","og_site_name":"Bluehost Blog","article_publisher":"https:\/\/www.facebook.com\/bluehost\/","article_published_time":"2013-10-22T21:25:08+00:00","og_image":[{"width":1199,"height":618,"url":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2024\/01\/wondersuite-1.png","type":"image\/png"}],"author":"Mike Hansen","twitter_card":"summary_large_image","twitter_creator":"@bluehost","twitter_site":"@bluehost","twitter_misc":{"Written by":"Mike Hansen","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#article","isPartOf":{"@id":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/"},"author":{"name":"Mike Hansen","@id":"https:\/\/www.bluehost.com\/blog\/en-in\/#\/schema\/person\/f2df3529633c67a1f1120725b85d43e2"},"headline":"Custom WordPress Page Templates","datePublished":"2013-10-22T21:25:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/"},"wordCount":271,"publisher":{"@id":"https:\/\/www.bluehost.com\/blog\/en-in\/#organization"},"image":{"@id":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2025\/09\/default-bh.png","keywords":["CMS","Tutorials"],"articleSection":["Development","WordPress"],"inLanguage":"en-IN"},{"@type":"WebPage","@id":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/","url":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/","name":"Custom WordPress Page Templates - Bluehost Blog","isPartOf":{"@id":"https:\/\/www.bluehost.com\/blog\/en-in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#primaryimage"},"image":{"@id":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2025\/09\/default-bh.png","datePublished":"2013-10-22T21:25:08+00:00","breadcrumb":{"@id":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#breadcrumb"},"inLanguage":"en-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/"]}]},{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#primaryimage","url":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2025\/09\/default-bh.png","contentUrl":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2025\/09\/default-bh.png","width":1200,"height":629},{"@type":"BreadcrumbList","@id":"https:\/\/www.bluehost.com\/blog\/en-in\/custom-wordpress-page-templates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.bluehost.com\/in\/blog\/"},{"@type":"ListItem","position":2,"name":"Uncategorized @en-in","item":"https:\/\/www.bluehost.com\/blog\/en-in\/category\/uncategorized\/"},{"@type":"ListItem","position":3,"name":"Custom WordPress Page Templates"}]},{"@type":"WebSite","@id":"https:\/\/www.bluehost.com\/blog\/en-in\/#website","url":"https:\/\/www.bluehost.com\/blog\/en-in\/","name":"Bluehost","description":"","publisher":{"@id":"https:\/\/www.bluehost.com\/blog\/en-in\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bluehost.com\/blog\/en-in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-IN"},{"@type":"Organization","@id":"https:\/\/www.bluehost.com\/blog\/en-in\/#organization","name":"Bluehost","url":"https:\/\/www.bluehost.com\/blog\/en-in\/","logo":{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.bluehost.com\/blog\/en-in\/#\/schema\/logo\/image\/","url":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2023\/08\/bluehost-logo.svg","contentUrl":"https:\/\/www.bluehost.com\/blog\/wp-content\/uploads\/2023\/08\/bluehost-logo.svg","width":136,"height":24,"caption":"Bluehost"},"image":{"@id":"https:\/\/www.bluehost.com\/blog\/en-in\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/bluehost\/","https:\/\/x.com\/bluehost","https:\/\/www.linkedin.com\/company\/bluehost-com\/","https:\/\/www.youtube.com\/user\/bluehost","https:\/\/en.wikipedia.org\/wiki\/Bluehost"],"description":"Bluehost is a leading web hosting provider empowering millions of websites worldwide. \u2028Discover how Bluehost's expertise, reliability, and innovation can help you achieve your online goals.","telephone":"+1-888-401-4678"},{"@type":"Person","@id":"https:\/\/www.bluehost.com\/blog\/en-in\/#\/schema\/person\/f2df3529633c67a1f1120725b85d43e2","name":"Mike Hansen","image":{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.bluehost.com\/blog\/en-in\/#\/schema\/person\/image\/1a2043d27d24b451e44bfbaa4439ed9a","url":"https:\/\/secure.gravatar.com\/avatar\/d85ca8906411a7c17e0a2136327bbcc4e5ea766056a8059f2b8d7ed968d84e5e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d85ca8906411a7c17e0a2136327bbcc4e5ea766056a8059f2b8d7ed968d84e5e?s=96&d=mm&r=g","caption":"Mike Hansen"},"url":"https:\/\/www.bluehost.com\/blog\/en-in\/author\/mikehansenme\/"}]}},"authors":[{"term_id":609,"user_id":5,"is_guest":0,"slug":"mikehansenme","display_name":"Mike Hansen","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/d85ca8906411a7c17e0a2136327bbcc4e5ea766056a8059f2b8d7ed968d84e5e?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":"","11":"","12":"","13":"","14":"","15":""}],"_links":{"self":[{"href":"https:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/posts\/99992","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/comments?post=99992"}],"version-history":[{"count":0,"href":"https:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/posts\/99992\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/media\/240661"}],"wp:attachment":[{"href":"https:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/media?parent=99992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/categories?post=99992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/tags?post=99992"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.bluehost.com\/blog\/en-in\/wp-json\/wp\/v2\/ppma_author?post=99992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}