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?
- Should I use loop in the single.php file?
- wp_list_categories: get latest featured_image of category
- Exclude filter on front page
- Exclude first 2 posts with meta_key from loop
- Make a custom loop inside single.php with pagination
- Why do I get `Call to a member function have_posts() on a non-object `? [closed]
- how to make a home page for wordpress custom theme
- How to split a loop into two columns
- Category Ajax call
- Transient loop issue
- popular post weekly and monthly
- Latest Post Styled Different Than other Posts
- ACF custom field in [closed]
- Add “showing posts x to x of y” in custom post type paginated loop
- Display a single category in blog section
- Query Nopaging action not having effect
- How to render a block from php template
- CPT while loop not working
- Where to add offset?
- How to synchronize The Loop with the max post per page?
- Can’t limit posts_per_page in loop
- Slug is changing when I use WP_Query in a metabox of a post
- Custom loop not working in singular.php, working in other pages
- Can’t print out returned value
- change the_content images for different sizes (Desktop, tablet, mobile)?
- WooCommerce custom loop pagination on front page
- Eliminate duplicates in a foreach loop [closed]
- I want the first post on my home page to be lengthier than the rest (example included)
- Loop with Custom Post Type Taxonomies and Interstitial Code
- Question about custom plugin
- loop mix my child-category and parent-category
- Meaning of “if ( is_home() && ! is_front_page() )” snippet?