The most common problem of similar questions I see on WPSE – contributors confused about template hierarchy.
In your case,
it’s better to check Common WordPress template files
section here
These items most important for your question:
front-page.php
The front page template is always used as the site front page if it exists, regardless of what settings on Admin > Settings > Reading.
home.php
The home page template is the front page by default. If you do not set WordPress to use a static front page, this template is used to show latest posts.
index.php
The main template file. It is required in all themes.
So, front-page.php
used first, then home.php
(if it exists in your theme and Admin>Settings>Reading is set to “Your latest posts”), then index.php
.
Related Posts:
- How to Restrict Previous & Next Post Link to Posts of Same Category?
- WordPress pagination and Post Navigation not working on home page
- Output wp_link_pages as raw url
- How do I paginate posts page with $wpdb?
- Show a page counter for pagination
- Change Posts per page count
- The next_posts_link() works only with original $wp_query
- Allow variable amount of comments before pagination
- Skipping first 3 posts in wp query
- How to load paginated post pages via ajax
- How to disable content pagination?
- How to Group Posts by the First Letter or Number?
- Getting the Next and Previous Posts Titles in the Sidebar?
- the_post_navigation seems to ignore same category filter
- How can I display 7 posts on the home page, but 9 posts on the subsequent pages?
- Adding Post Counts to Menu (Nav) Programmatically?
- Custom Post Type Pagination Doesn’t Work in WordPress 3.4
- Automatically create pages in a post based on number of words
- Setting pagination for images attached to a post
- Pagination not working on Custom Page Template
- Show number of posts AND number on current page
- Pagination for Pages and Posts
- Programmatically inserting page breaks
- I’m having some issues with previous_post_link() and next_post_link()
- Navigation link to specific user page
- Different amount of posts on homepage than paged pages
- JetPack Infinite Scroll not working on custom theme
- Pagination – Posting First Page Content
- Load posts into sidebar and paginate via ajax?
- How can I get all posts data from within a paginated search result?
- When paginating a Page with the tag, how can the 2nd and subsequent page styles be customised?
- A way to detect which page a post is on
- Post Navigation
- Converting multiple loops into one single loop with pagination
- pagination hook doesn’t work with search results
- how to know if the post has pagination () or not
- Unwanted Duplicate Posts Showing in Pagination Pages
- posts_nav_link() not displaying anything
- can’t use the page_test method to check pagination
- Is it possible to change the admin posts per page view?
- Lazy Load using WP_Query pagination
- Pagination on single post page?
- How to display different number of posts
- Should $found_posts be returned as string in ‘found_posts’ filter hook?
- Archive Page for Custom Post Type is not Working
- Restrict post navigation to current sub menu
- Getting content from a single *page* of a post
- get_next_post() and get_previous_post() return wrong posts
- How do I detect which page I’m on within a paginated post?
- Duplicating Table of Contents for Paginated Post
- Disable most recent & view all (TABS) on nav-menu.php
- How to add pagination in between post and comments?
- Is it possible to create a form post wordpress custom navigation link?
- remove older posts link [closed]
- 404 on paginated blog pages
- Blog post per page setting conflicting with custom WP_Query?
- How to create a submenu that will navigate through different posts in the same page
- Get the number of posts shown in the current page
- Blog page pagination is not working after using the offset argument
- Custom loop pagination links not working
- How to Next and Prevous Navigation Buttons on the end of the page with custom image Using Wp Post Navigation Plugin
- Making a custom Pagination for multi page blog post
- One menu for frontpage (one pager), and a different menu for posts
- pagination for single post by category
- 301 (static page instead latest posts)
- Show only one page link in content pagination
- How to : pagination in 3 different custom loops on the same page
- Pagination with an array of post objects?
- How safe is renovating $wp_query when doing WP_Query pagination in Page Template
- Start WP Pagination From Number 1 in URL
- Customizing Comments on Posts
- Use two different post_per_page limits with infinite scroll
- Highlight static blog page link in header
- Start post pagination at 0 instead of 1
- Show posts count for Categories and Tags in wp_nav_menu
- using is_paged for hiding image on posts
- Why are my paginated posts always returning the same results?
- Restrict the_post-navigation to same category?
- Total number of posts in query (category/tag/author/search results/main page…)
- Why won’t pagination work?
- Only show featured image on first page of paginated posts
- Getting blog pagination to work on page set as front page
- Navigate through the posts using keyboard arrows
- Change the number of excerpts displayed in search results layout
- Custom Post Limit for homepage only without plugin?
- Get current post’s nav menu name (term name)
- Add Text Domain To Post Navigation
- Pagination for normal (standard) posts on a page with a custom loop?
- How to show next/prev link, when it’s not active?
- Pagination for posts inside a specific category
- Possible?! A contextually titled back link
- Post navigation using date
- Rest API Paginate until all posts are imported
- Blog Posts – Scroll to view more
- Pagination not give another posts
- Manipulated offset and pagination, can’t display last post anymore
- Search results with pagination not working
- Go back to the exact post page number
- Problem paginating a subquery on a post
- Pagination Not Working With Custom Post Type Category