Depends on whether you would use that single-loop in more places. If you’re only using it in one place and that will remain the case, do it within single.php, if you’re going to be reusing it elsewhere, I’d highly suggest using a single-loop template part.
Related Posts:
- 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
- How do I override part of the main loop in my child theme?
- 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 override woocommerce specific loop or archive-product.php [closed]
- How can I save an array from a random post sequence for later use?
- wordpress loop for specific category
- Three different post types on homepage
- Add Incrementing ID to each paragraph in the_content
- Multiple posts with one loop iteration
- Query date in wordpress loop
- Transient not working for custom loops
- Custom Loop, Match Category with Page
- Display page of custom posts?
- include(locate_template) messing up the loop
- Custom Loop Pagination on WordPress
- Get link of inserted media file of post within loop
- Loop – how to get previous/next post for first/last post?
- Output shows a page instead of a list of blog postings
- How to add “time” data this?
- Loop through all media library images and return those where caption contains the text carousel
- Displaying the last page of posts
- How to get_posts where ‘menu_order’ is more than 0/zero?
- WordPress Redirects on Install
- How to load all pages into one page with their templates
- How to return only one instance of each, from the entire loop
- Combining action and filter?
- Shortcode with a foreach and arguments
- Calling & display certain product category loop and pagination on the homepage
- Detect if current page is front page within custom query
- Blog’s post count cause irratic behavior
- Sanitize Custom Field Value in Meta Query
- Default ‘post’ post type archive slug?
- Pagination – works on local but not live dev!
- need help looping add_action in wp
- Does WordPress Loop have a function like Shopify’s cycle?
- Combine the results of two loops [closed]
- How to display pending posts on the homepage only for editors
- How can I improve the performance of this query_posts loop?
- Add leading zero to current post display [closed]
- Output meta into arrays
- Adding div after every two post on main loop! Why will first post not get counted?
- WordPress Query Posts From Category Post on Static Page
- Moving wordpress to different url/server creates redirect loop
- Second Loop Showing Only One Post on Single Post Page
- Pulling in featured image into default recent posts widget
- Modify loop output for a specific list of categories
- How to Fix an Archive.php That Displays All Posts?
- Print the whole page?
- List post only under the category, exclude child category content
- Loop info in jquery Tabs – loop into a variable?
- Thumbnail Image Rounded Corners w CSS (or any other good method)
- Problem with WP_Query loop and search term
- Adding $args to wp_schedule_event() causes hook to add infinitely to WP Cron
- $post is undefined in wordpress loop [ajax]
- Insert content above an embedded video inside Wordress’ php the_content
- Use ACF Category Image for all Taxonomy Archive Views
- Loop with custom posts, to include information from different custom post type
- Multiple loops on same category with different design
- the loop printing post in one grid
- Check value of post meta within IF statement
- My WordPress installation doesn’t load correct template
- Work arounds for conditional checks inside the loop in search.php?
- Get Sticky User in user loop based on user role
- Popular posts with Varnish ESI
- Querying posts from only one category and exluding the latest post
- Secondary loop doesn’t work
- WP update_post_meta link loop
- How to fix pagination for custom loops?
- Pagination on Custom Loop
- query_posts ignores the argument
- Need some help with “the_widget()” function
- show posts from one category with comments only
- Exclude Authors based off date of last post
- WordPress loop problem: Multiple loops, index.php and is_paged causing duplicate posts on next page
- Loop from another WP site onto mine
- Having issue with WordPress loop
- How to show only the date, the title and a little “summary” of my WordPress post in my custom theme?
- I need to update the post query? [closed]
- Loop display only 5 posts
- Wrap every 2 divs in row – for each loop [closed]
- How to add class to the last image of the last post in a loop
- Multiple loop with pagination in same page
- How to get files from loop for zip