{"flag":true,"single":true,"pageTitle":"How to make custom homepage in WordPress","post":{"id":314,"user_id":"1","slug":"how-to-make-custom-homepage-in-wordpress-h7tr","title":"How to make custom homepage in WordPress","body":"<p>1. Using a Custom Page Template<br>Inside your child theme, create a file called: <strong>front-page.php<br><\/strong><\/p>\r\n<pre class=\"language-markup\"><code>&lt;?php\r\n\/* Template Name: Custom Homepage *\/\r\nget_header(); ?&gt;\r\n\r\n&lt;div class=\"custom-home\"&gt;\r\n    &lt;h1&gt;Welcome to My Custom Homepage&lt;\/h1&gt;\r\n    &lt;p&gt;This is a fully custom layout built inside the child theme.&lt;\/p&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;?php get_footer(); ?&gt;<\/code><\/pre>\r\n<p>WordPress will automatically load this front-page.php file when &ldquo;Homepage&rdquo; is set to a static page.<br><br><strong>Option 2:<\/strong><\/p>\r\n<p>1.<br>Inside your child theme folder, create a new file named for example: <strong>custom-homepage.php<\/strong><\/p>\r\n<pre class=\"language-markup\"><code>&lt;?php\r\n\/*\r\nTemplate Name: Custom Homepage\r\n*\/\r\nget_header(); ?&gt;\r\n\r\n&lt;div class=\"custom-home\"&gt;\r\n  &lt;h1&gt;Welcome to My Custom Homepage&lt;\/h1&gt;\r\n  &lt;p&gt;This layout is controlled by custom-homepage.php&lt;\/p&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;?php get_footer(); ?&gt;<\/code><\/pre>\r\n<p>???? The important line is&nbsp;\/* Template Name: Custom Homepage *\/<br>This tells WordPress that this file is a page template and should appear in the Page Editor under &ldquo;Template.&rdquo;<\/p>\r\n<p>2 <br>Create a New Page in the Dashboard &gt;&nbsp;In the Page Attributes section (right sidebar) &gt;&nbsp;Choose Custom Homepage template &gt;Publish the page ???<\/p>\r\n<p>3<\/p>\r\n<p>Go to Settings &rarr; Reading&gt;&nbsp;homepage &gt;&nbsp;&ldquo;A static page&rdquo; &gt;&nbsp;Then set Homepage: to the Home page you just created<\/p>","category_id":"29","is_private":"0","created_at":"2025-10-08T23:07:41.000000Z","updated_at":"2025-10-08T23:07:41.000000Z","category":{"id":29,"user_id":"1","name":"Wordpress","slug":"wordpress-uzoa","parent_id":"1","created_at":"2023-11-10T02:49:29.000000Z","updated_at":"2023-11-10T02:49:29.000000Z"},"user":{"id":1,"name":"R GONDAL","email":"rizikmw@gmail.com","email_verified_at":null,"two_factor_confirmed_at":null,"current_team_id":"1","profile_photo_path":null,"created_at":"2023-03-12T10:49:33.000000Z","updated_at":"2025-01-10T12:59:00.000000Z","profile_photo_url":"https:\/\/ui-avatars.com\/api\/?name=R+G&color=7F9CF5&background=EBF4FF"}},"pageDesc":"1. Using a Custom Page TemplateInside your child theme, create a file called: front-page.php &lt;?php \/* Template Name: Custom Homepage *\/ g - How to make custom homepage in WordPress (Updated: October 8, 2025) - Read more about How to make custom homepage in WordPress at my programming site [SITE]","categories":[]}