Instead of overriding the main loop, you can always just create a template, similar to the main loop and use that on a separate page (which you then set to display as your home page).
You’d just need to set up a wp_query in that template to call the posts you want and run a loop on that.
That way everything is left in tact and you just have one page in your child theme. Then you can add what you like after the_content();.
That’s how I’d normally go about this sort of thing.
See here: http://codex.wordpress.org/Stepping_Into_Templates
Related Posts:
- Loop.php vs looping inside template file
- How do I prevent one of two multiple loops from repeating on a second page?
- Show newly added posts since last user login time /date
- Recent posts on a static home page
- show random image in loop if image is not set
- Page-loop is looping content from custom loops on the same site. How to avoid that?
- Split wordpress loop to multiple layouts
- How do I automate multiple category loops?
- get_delete_post_link() inside Loop stubbornly returns nothing
- Integrating WordPress with Your Website
- Pagination for two loops
- How do I aproach this?(for sale, for lease, sold->move something from a category to another)
- Display single post inside accordion based on form submission results
- trying to write a variable into a wp_query, need help!
- display only parent replies count in index.php
- Change the way wordpress outputs images or image galleries
- Displaying posts limit: can’t get pagination to display [duplicate]
- How wp maps urls into files
- Custom Page Template and Category Exclusion
- Limitless amount of posts in custom archive page
- How to split a loop into multiple columns
- Is it necessary to reset the query after using get_posts()?
- Cleanest Way to Select Every Second Element in a Loop?
- Pagination not working on home page
- Get post by page name or slug
- save_post + insert_post = infinite loop
- Get ID of a page containing secondary loop in content
- ACF Repeater loops and resets – where is the reset_rows() documentation? [closed]
- Why do themes have `while( have_posts() )` in templates like single.php?
- What is best way passing variables to theme templates and using them different places like widgets?
- Apply styling only to first page sticky posts
- Search results with custom loop don’t update when paged
- Exclude category by slug for for each loop
- pop-up lighbox with AJAX
- Change loop order via form or link (jquery, not URL)
- WordPress Loop Through Particular Pages
- Load comments per post on click with AJAX
- The main Loop is not starting in a custom blog template page
- Check to see if more than one post
- Style first 3 posts differently with a container, then the rest of the posts [closed]
- Loop through all posts in a certain year
- What are the disadvantages of using global variable?
- Better way to display posts from specific categories, in a grid layout
- Infinite Redirect Loop after moving to subdirectory
- the_excerpt not showing posts
- Next and Previous loop
- Show the page title on blog page
- How can I make the loop not count special post formats towards the post count?
- How do I order my loop query?
- Orderby my needs in foreach loop like by title or something?
- How to show posts with multiple tags on tag.php?
- How can I paginate this?
- Obtain page data and use regular loop
- How can I load posts starting from, and including, the current post?
- ‘Auto Draft’ Post showing in wordpress loop
- Change date format
- How to stop the continuation of posts on the second loop from where the first ended
- In Custom page – next_posts_link Not working while previous_posts_link is working
- How do I display the latest posts from three different categories?
- Show articles in Pair
- Loop in elementor custom widget not working
- Make a loop to return x number of posts, but only if they have content or excerpt
- Closing the loop…featured image variable based on post id
- How do you stop the rendering of the website to have something display on the front-end?
- add_action in the loop hooks
- toggle Multiple Loop with tittle
- How to render the single post template with the post name?
- Reset Loop get_posts();
- WP_Query is only looping home page, not pages
- Offset Loop by 1 , Limit next loop to 1 (Most Recent) Post
- How to show multiple attachements together with Scribu’s Posts 2 Posts connector?
- Custom Header added within Dashboard pages, is this possible with custom template files?
- Loop order issue with Ajax filter
- Database query and get_user_meta return incorrect data
- Need to while loop and display contents in the subfield of a group field given by ACF
- How to display a loop of custom post types in columns
- Remove Custom metabox from particular page template is used
- dispaly all hierarchical post types from a taxonomy
- WordPress Modal showing posts not working properly
- Query posts and display all dates in repeater field in chronological order
- Multiple loops in set intervals with code in between
- How to keep a CPT stick to specific position?
- Attachment Metadata inside of Loop
- Modify widget to output posts in custom order
- Template included with plugin doesn’t return all posts for custom taxonomy
- Limit article to 100 characters. Can’t use the_excerpt…
- Adding pagination to WP_Query [duplicate]
- Insert/sticky multiple posts in multiple positions
- This webpage has a redirect loop issue with SSL page
- Buddypress Group Activity Loop Filter activity type [closed]
- Stuck with conflicting loops on page template
- How to get current page id and compare it to looped pages inside the same page?
- Show amount of posts created today above loop?
- How to create WordPress loop with combination of 4 and 2 columns twitter-bootstrap?
- posts_nav_link() not working on index.php
- How to add custom HTML markup and classes to the_content()?
- $do_not_duplicate is not working in genesis theme
- Loop displays current page
- wp_mail function not working in user query loop
- How to set and retrieve cookies while in the loop