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
- Allow variable amount of comments before pagination
- How to load paginated post pages via ajax
- How to disable content pagination?
- 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?
- 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
- Programmatically inserting page breaks
- 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?
- 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
- 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?
- Getting content from a single *page* of a post
- How do I detect which page I’m on within a paginated post?
- Duplicating Table of Contents for Paginated Post
- How to add pagination in between post and comments?
- remove older posts link [closed]
- 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
- 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
- One menu for frontpage (one pager), and a different menu for posts
- pagination for single post by category
- 301 (static page instead latest posts)
- 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
- Why are my paginated posts always returning the same results?
- Restrict the_post-navigation to same category?
- Why won’t pagination work?
- Only show featured image on first page of paginated posts
- Custom Post Limit for homepage only without plugin?
- 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 not give another posts
- Problem paginating a subquery on a post
- Numbered Pagination Showing The Same Posts After Altering WP_Query
- How to display the pagination in my post list? [duplicate]
- How can I get the last post while on the first post for pagination? As if it were infinite
- Disable pagination in posts and pages
- Creating a link to the first post in a category
- Next / Previous post in a single category
- Pagination (on the static front page) shows always the same posts
- Code to display random ordered posts in Categories across pages [duplicate]
- Override wp_link_pages pagebreak with filter
- Can I Paginate Post after every 25 tag?
- How to add navigation arrows to manually slide through posts?
- Pagination for single post
- Posts are not showing up on next page.
- Admin is showing all posts on page 1
- Custom Select Query pagination not working properly
- Post of a specific category – not to be seen in paging previous/next post
- Add wp-link-pages to post
- wordpress paginate, link to the right page
- Pagination working locally but not on live site
- Pagination for custom query won’t let me back on page 1
- Make a paginated article (for easier reading on mobile)
- Count > 1 Navigation Slider
- How to inject a post within a loop
- how to add pagination to the organize series plugin
- WordPress posts loop pagination – first page return 125 posts instead of 10 and the rest return 10
- Issue with wordpress pagination: last 2 posts show again on second page
- How to get pagination working with “Pending” Posts
- Single post pagination
- WordPress Custom Theme: My site shows the same posts on Page 1 and Page 2 and so on [duplicate]
- ‘get_previous_post’ in same category returning (!empty) when no previous post in category exists
- How can I get the first post THIS SAME CATEGORY?
- query_posts different amount of posts per page [duplicate]
- How can I merge a several related posts into one post?