I figured it out with some help on the WordPress Slack.
Basically I had to use front-page.php instead of home.php, and set the specific page created in the editor. Then in my front-page.php I had to reset the wp-query after getting the page’s content to specifically target the posts content using the following code:
$args = array('post_type' => 'post');
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) :
while ( $the_query->have_posts() ) : $the_query->the_post();?>
<p> the content from the posts go here </p>
<?php endwhile;?>
<?php endif;?>
Related Posts:
- Page-loop is looping content from custom loops on the same site. How to avoid that?
- Jquery Slider for profile template
- if ( is_home() && ! is_front_page() )
- Remove the Homepage Query
- Ways to have multiple front-page.php templates that can be swapped out?
- Pagination not working on home page
- is_home, and is_front_page conditional problem
- Is including the loop necessary for page.php? [duplicate]
- What is best way passing variables to theme templates and using them different places like widgets?
- Page template not displaying
- Output shows a page instead of a list of blog postings
- Loop through pages with specific template
- Better way to display posts from specific categories, in a grid layout
- How to get_template_part using AJAX?
- Create static front-page with 3-5 recent posts
- wp alchemy multiple image uploader output images to template
- Loop first six posts in carousel, next eight in grid
- code suddenly appearing from my tempate second loop
- Get search.php results in header.php?
- Recent posts on a static home page
- WordPress Loop inside Loop?
- Template structure
- How to show “teaser” posts on blog / archive pages, otherwise full posts
- Order archive results by post id in custom taxonomy template
- Detect if current page is front page within custom query
- Default ‘post’ post type archive slug?
- How do I make a variable available inside partials?
- 404 Template customization | Want 10 recent Post on the 404.php error page apart from the error Notice
- Second Loop Showing Only One Post on Single Post Page
- Display post formats differently on index.php (loop in function)
- WordPress loop not working only on home page, works on all other pages
- Frontpage pagination by week
- Problem with Front-Page.php loading recent posts
- Get markup for post without loading into the template
- How to render the single post template with the post name?
- excerpt not showing up
- WP_Query is only looping home page, not pages
- new custom theme – posts displaying on top of one another
- How do i create a list-posts-page?
- How to sort a loop after most viewed
- Skip 5 latest post while paging?
- How to loop specific Category menu from archive page?
- How do I set the Stewart Search Template to return only published posts in the result
- Is it possible to set archive.php instead of index.php to display blog?
- Using is_page_template inside loop
- is it bad to copy the loop for a template?
- Is “the loop” a template tag?
- Deeply Nested Menu Loop with Twig using Timber [closed]
- Homepage Loop Somehow Breaks Styling Of Post Grid
- WordPress with woocommerce custom query
- Alternative layout the loop
- Cant pull in featured Image
- Echo Most Recent Sticky Post in Loop?
- Template included with plugin doesn’t return all posts for custom taxonomy
- Creating a archive for taxonomy terms, not the term results
- Secondary loop cuts off at 10 posts?
- Need a conditional to test if title of parent page matches title of child page
- 2 loops in blog homepage
- get all page templates
- Load featured article once in a loop
- Home page loop with pagination problem
- wordpress showing all posts instead of date range
- What is the advantage of using home.php over index.php for the front page
- How to implement template file and the loop
- Different style for first two (sticky) posts
- Same posts within a paginated page
- How can I create an entirely new, separate display of posts?
- Query Loop Block: possible to restrict just child pages?
- Different template parts when on different pages
- Insert content above an embedded video inside Wordress’ php the_content
- Creating a User-Adjustable chart in WordPress
- Undefined index: page in loop load ajax content
- Ability to change homepage on WordPress using API
- Database query and get_user_meta return incorrect data
- php loop error for count posts in category
- display post pdf attachments in side bar with link text
- How to display fields from the loop in two separate divs
- Loop only shows first two posts
- Why is my archive page looping through all but one post?
- Loop two different category WP_Query
- Adding a second loop breaks everything
- Use ACF Category Image for all Taxonomy Archive Views
- Solved – Inserting content inside the WordPress loop
- WordPress posts in the loop not stacking side by side
- WordPress posts loop not displaying all posts on blog
- Display all the terms within a custom taxonomy
- get_page_by_title not working inside fucntions.php
- A code that I could not fully grasp related to foreach & count_user_posts()
- Need to while loop and display contents in the subfield of a group field given by ACF
- How to use single.php output in function.php
- How to separate post titles with a comma in the loop?
- Custom Query with Sticky Posts
- Add Search and Filter functionality to custom loop
- Loop with custom posts, to include information from different custom post type
- how to add 4 post in one carousel slide
- Accessing download link from the loop with WP Download Manager Pro
- How to add “NEW” badge on latest posts or published 3 days interval
- Submit form for loop of products of the term with AJAX
- Some posts not displaying by taxonomy term
- Only Show Excerpt After First 3 Posts