First, you need to familiarize yourself with the WordPress Template Hierarchy, so that you ensure that you are modifying the appropriate template file:
- Home: Blog Posts Index page; template file:
home.php
- Front Page: Site Front Page; template file:
front-page.php
I am assuming that you want to display a static front page, and to display your blog posts index on a separate page? If so:
- Use the
front-page.php
template file to define the custom front-page markup - Use the
home.php
template file to define the markup for your blog posts index (or, omit entirely, and let the blog posts index simply fall back toindex.php
) - Create two static pages: one as the site front page placeholder, and one as the blog posts index placeholder
- Set
Dashboard -> Settings -> Reading
appropriately
Related Posts:
- When to use is_home() vs is_front_page()?
- Authentication / login mechanism (non wp-admin)
- how to display full post with pagination on home page
- Adding “latest from the blog” to the homepage
- how can I remove the sidebar from my wp homepage [closed]
- How to make Home Menu( Front Page) use index.php instead of page.php
- How can I conditionally show different home page templates based on whether or not the user is logged in?
- WordPress page/blog incorporated into static website
- Theme Development -> Specific Homepage
- Exclude function from homepage only?
- 1 post per category on homepage and counting those posts
- Cart displayed above header
- “Blog pages show at most” in setting not working
- Custom Static Page to Display Blog Posts in Excerpt Non-Singular Form (is_singular not working?)
- 3 x 3 grid of posts on the home page
- How can I change the title of the Home link in the navigation bar?
- Allow users to edit home page from WordPress (home.php problems)
- What is the advantage of using home.php over index.php for the front page
- the_author() str_replace error
- The the_post_thumbnail without srcset?
- after_setup_theme always runs
- WordPress API Menu/Submenu Order
- What WP folder can I use to write files to?
- Can’t get staging site to display same way as live site. Completely stumped
- How to add default images for custom backgrounds?
- How to call the_excerpt() with tags or the_content() as an excerpt?
- Display a different theme for not logged-in users
- how to test a theme upgrade
- comment_form() generates the wrong action url
- How to set path with WP_Filesystem and ftp base / chroot
- How to add paging to query
- A two column loop with one lead post
- How to Modify a Widgets UL and/or LI Classes
- How to remove menus section from WordPress theme customizer
- new theme permissions don’t allow me to edit
- Getting Permalink within the loop
- Allow users to add custom functions to wordpress theme
- What page should I use for a contact form?
- Get attachments by user
- Appending a value to metabox before and after saving
- wordpress custom theme import and export options for sample data [closed]
- How to hook CSS file according to theme selection in the customizer section
- I made a my own theme to WordPress and Admin Menu missing from frontend
- What program can I use to preview my wordpress site?
- How exactly *does* unit testing work for themes?
- How to remove a file included in parent theme with locate_template() via child theme?
- Can’t override template file in child theme
- wp_nav_menu add something before closing container and after last list item
- qTranslate with my own theme and settings
- Make logo dynamic in wordpress
- How can I add a custom button to the post editor toolbar?
- How to make the excerpt_more filter apply to the actual post excerpt?
- Default image size not working
- Changing Header Image Every N Minutes/Seconds
- Can I add an icon & function to the “Upload/Insert” toolbar at the top of the content editor?
- underscores use of the article element on the page template
- Ideal inline dynamic CSS injection
- How to create and populate with few links a menu in child theme functions.php?
- Plugin does not work in custom theme
- How to Manually Code Shortcode?
- Making custom woo themes
- Where does the uploaded image go?
- Previous and Next links not populating, have I missed something?
- Single.php the_excerpt loads same as the_content not loading read more line
- Where to put custom page templates in theme?
- Is there a way to retrieve the calling template part?
- How to fix WordPress images not showing up in local hosted XAMPP server?
- Let user to add input fields on theme option page
- .current_page_ancestor broken in Twenty Eleven
- MapPress Easy Google Map in Jquery Tabs Problem
- Homepage slider not using correct images
- Calling a WP Plugin Function’s Variable in Theme Template [duplicate]
- WordPress theme header.php should I add title meta?
- Help with Core Mods
- Problems with cart and pages on _s theme
- Local variable name in setup_postdata()
- Creating a Single Page Theme correctly
- Custom post type query with pagination doesn’t work
- Fatal error: Class WP_Customize_Image_Control not found
- Child theme menu not appearing in Twenty Seventeen
- Edit Product Archive design for Woo theme
- How do I remove header/page-title image in farvis theme? [closed]
- how to edit woocommerce checkout page
- Which theme PHP file should be edited in order to change Posts appearance
- Necessary css classes to be included in theme stylesheet
- How to link post image to post link?
- get_the_excerpt() removes all p tags in page!
- jQuery conflict in WordPress, works fine in HTML
- Including some variables in function.php and echo them is several place of theme is not working
- How to override wordpress native options with theme options
- How to migrate the menu from the site on my own theme in WordPress?
- Why is including all your files within a theme folder important?
- FitVid not working for iframes on particular theme install
- How to create multiple sidebar areas with a forloop and register_sidebars?
- Make theme editor to show all theme’s files
- add_action works outside condition but not inside it
- Bootstrap isn’t called into my WordPress theme
- Jquery Ui Tabs not working
- Adding a new layout for genesis
- Which function(s) to build a paged HTML table