WordPress Template Hierarchy:
You should read about WordPress template hierarchy.
This question also has some related answers.
Typical Case:
In your case, the most likely scenario is:
The explainer had set the latest posts as the home page (this is the default option) and you have set a static front page as home page. Since his is blog archive, it’s being loaded by
index.php
and yours is a page, so that’s being loaded bypage.php
.
This is just a typical scenario, but there may be other settings that are affecting which template file is being loaded.
Changing the default setting:
If the above is your scenario, then changing the following setting from WordPress wp-admin -> Settings -> Reading -> Your latest posts
(then Save Changes
) will make it the same for you and the explainer. Check the screenshot below:
Related Posts:
- is_front_page and is_home are not working in page.php
- How to show a post single post in page template
- Conditional get template part
- I want to duplicate homepage for all my pages
- Page-loop is looping content from custom loops on the same site. How to avoid that?
- My custom template page not loading content inside it?
- How can I load 2 random pages?
- WordPress custom login and register page problem?
- How to detect if some page template has been selected
- Is there a universal slug for static homepage?
- Use page.php for front page
- Using page template as Static Front Page
- When to use is_home() vs is_front_page()?
- What does is_page_template() compare against?
- Creating custom blog page template the right way
- How To Create A Paginated List Of All Categories On My Site?
- is_page_template not working
- When is get_template_part() preferable to simply using the template.php files?
- Ways to have multiple front-page.php templates that can be swapped out?
- How to remove all styles for certain page template?
- Password protected posts redirects
- Variable use in get_template_part
- Overriding page template using page_template filter
- Simplest way to add a second html editor to the post/page admin?
- How to consolidate multiple static page templates into one dynamic one?
- How to redirect WordPress home page to custom static HTML page
- Loading page content into a variable in template
- Capturing arbitrary semantic URL arguments
- How do I display the text inside the WP editor for a page with a custom template?
- Dynamically assign same page template to child page as parent
- What content should go in index.php?
- Store Page Template Files in a Subfolder
- How to create custom home page via plugin?
- Add Adsense code in index.php
- How to pass a numeric id to a page template?
- How can I dynamically load another page template to provide an alternate layout of the posts?
- Create a new template for twentytwelve
- get url page template
- Posts archive index pagination in a static page custom query
- Video Background – (php & css) – generating 404 error on page load – WordPress Theme File Structure Help
- How to check if current static page is frontpage from admin plugin
- How to remove a parent theme template from Quick Edit?
- How to Set a Custom Template for Blog Posts
- is_page_template & is_page in functions.php not working
- Removing or Restricting Access to Page Templates for Editor Role
- Created custom post type but selected template not staying selected
- Why is POST’ing to my WP page template producing a 404?
- get page title, url and excerpt of a page
- Can I create a page template, use it once, then hide/remove the option to use it again?
- Are page/post IDs unique across a whole network?
- Custom template for each page
- Grabbing the page template name?
- How can I have a static title on my blog page?
- Adding the Admin Bar to a page with a custom template
- Use is_category(), is_tag(), … in functions.php
- home.php or frontpage (via settings) for theme?
- wp_title() handling of author page
- Can you call a template file without assigning template to a page in the admin panel?
- page-slug goes to not found
- How can I make WordPress serve homepage to different URL?
- Why am I getting syntax error, unexpected ‘endwhile’ (T_ENDWHILE) in this template? [closed]
- How do I add a body class to specific pages?
- How do I make my single-work page show on my front-page.php?
- How to edit 404 content via wp editor?
- How to list all titles of posts on a specific page?
- front end publishing not working on front-end page
- How to handle a missing page.php?
- Customize edit.php Pages listing in dashboard to show only pages with a particular template applied?
- WP Multisite Static Frontpage
- Programatically switch page template?
- is_home() in HTML head
- How to display thumbnail and excerpt of a page on homepage?
- How to create a page template that retrieves content from db?
- Change path of the page’s template
- wp_redirect() does not work in custom template file
- Remove all theme CSS & JS from wp_head (but only for 1 page template)
- Get page id of current page from template [duplicate]
- is_page_template returning false
- remove page template from dropdown?
- Export csv and force download in template page
- WPML in custom page templates
- Programatically changing template of a page
- Why (and how?) is get_header() erasing all my stuff?
- get_pages — parent vs child_of?
- WordPress can’t find IXR_Client
- Disable front-page.php template
- How to pass outside function to WP_REST_Request
- How to set up a single portfolio page as home page?
- Creating a new page template
- page.php not displaying content
- Create a front page template and separate page for posts?
- Unexpected results with conditionals inside template part
- Excerpts for Pages
- Visual Editor Templates
- What does choosing a Post Page do?
- Creating a custom archive template that sorts post by date
- Pre get posts where template is not equal to one specified?
- Change content of page in child theme using plugin
- Can two custom templates be used to create a single page?
- Use the_title_attribute() for the WHERE parameter in a page template