You can add code below to the beginning of loop.php
add_action('pre_get_posts', 'wpse_change_post_order');
function wpse_change_post_order($query){
$query->set('order','ASC');
$query->set('orderby','date');
}
the oldest posts will be in the home page.
Related Posts:
- How do I reorder (pop and push) items from WP_Query?
- Should we trust the post globals?
- Get first post from wp_query
- WP_Query: Why is sticky post not first item in loop?
- Query *only* sticky posts
- How to exclude latest x posts from a paginated query?
- WordPress Number of Posts Not Changing With posts_per_page
- This AJAX Code Doesn’t Work – Looking for elegant solution
- Specific loop in Shortcode
- Search widget breaks when using multiple loops?
- Converting multiple loops into one single loop with pagination
- Display posts with comments closed, with pagination?
- Group posts by year in loop
- How would I get 1 latest post from a query for 5 posts?
- Loop through all product posts?
- WP Query – duplicated posts once including tags in search results
- Display post from current category and same tag?
- WP_Query orderby not working with meta_value_num and menu_order
- Why WP_Query(‘showposts=5’) shows only 1 post?
- How can I sort posts by the date and a custom meta field?
- Blog post per page setting conflicting with custom WP_Query?
- How to exclude latest x posts from a paginated query?
- WP Query – Posts Per Page not working in combination with category__in
- Pausing and Resuming WP_Query results
- How to : pagination in 3 different custom loops on the same page
- List authors with the last post title and order by last post date
- How to order posts by meta_value and title
- wp_query random post
- how to get post order by post id wp_query?
- Possible to alternate between two loops
- How to get posts published on the latest date?
- Page and post loop same template
- Getting blog pagination to work on page set as front page
- Display current post position in Elementor Posts widget
- WP_Query: Show 10 posts in date order, first three random
- WordPress Loop: How to display recent posts in multiple divs
- Need to know custom code to display random and most viewed posts in wordpress posts and pages
- How to display post list in a table layout (multiple queries in single loop)
- Not all posts showing in query
- how to handle the loop using filling bootstrap grid structure?
- Custom WP_Query not working correctly
- WP_Query of Category Not Showing First Post
- Display 3 posts with different HTML markup using a loop
- While loop in functions.php outputting the_title() of each post on frontpage
- Display specific posts based on an ID of another post
- SEARCH QUERIES – REVERSE OUTPUT
- Numbered Pagination Showing The Same Posts After Altering WP_Query
- query posts with selected post ids first
- show loop id post , only first id can read
- Double loop output
- WP_Query sort by meta_value_num or date
- Loop through all posts showing duplicates
- Wp_query loop is not working as it should
- Random order of the 5 most popular posts
- My custom query is displaying random posts in random order
- Get query result according to merged array
- WordPress loop uses unmodified posts array, why?
- How to make post button to a random post
- Advanced Post Display/Pagination/Ordering
- Why I obtain this WP_Query strange behavior trying to select posts having a specific tag?
- How to show the posts list into a static page? Problems to use the loop into a static page
- Adding a category at even positions on main loop with modified pagination
- Make assigning post to a specific category equivalent to assigning it to all categories
- Order by ‘s’ using WP_Query()
- How do I show the post title if an advanced custom field hasn’t been used?
- First post in loop displays twice
- posts_per_page – Repeats only first posts ‘post__in’ array
- Is it possible to use the_post 2 times in one loop
- Order by Post Title in WP Query not working
- Alternative content between posts no repetition
- Start loop from specific post ID
- How to order posts, that have already been filtered by custom taxonomy, by their category names?
- post->ID displays the same ID number for every post
- WP_Query extended with AJAX
- Manipulate query to show specific post
- Display new posts categories in separated divs
- Show post excerpt
- Get current user, change users post status to published
- Show all posts from the tags without having to set all of them
- Show author bio box
- Maximum number of posts per page before affecting performance?
- Use special template for the first post in the loop
- Display post order ranking within wordpress loop
- Is it possible to query a category with specified posts?
- Posts are not showing up on next page.
- WordPress text field in array problem
- Allow reader to reorder posts for themselves (oldest first)
- Displaying a specific sub-category’s posts from wp_query
- Can the_post_navigation() be outside of the loop?
- Custom post type – Loop out in random order but same 15 to appear first… still random
- Only show current category post
- WordPress infinite post cycle
- Display three sequential posts on each page load, without repeating previous
- WordPress infinite post cycle problem
- Problem with wp_insert_post()
- How to get all posts in gallery post format template
- How to control Post view count incresing in sidebar widget posts too?
- Creating Ordered Query using Meta_key
- Is there a global page/post/product/anything ID?
- WordPress Request Post All Post ID in a Loop? [closed]