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
- Inject post (from specific category) between posts in Loop
- posts page – different lengths of excerpt
- Unable to modify(update) posts – Page not found
- WP_Query do not load specifed number of post
- WP_Query: offset ignored when posts_per_page is -1?
- Get random posts between specific dates / of specific age
- How to filter my search in post if contains a word in title, content or excerpt?
- How to return another post than requested
- Random ajax load only works with posts_per_page set to -1
- Query posts and return XML
- “Right Way” to make custom Loop respect reading settings inside admin panel?
- How to make a sum of all posts displayed in a loop
- First x post with another template then the others
- Loop doesn’t show title of second post and posts thereafter
- add bootstrap post slider with tabs
- How to add add more properties to WP_Post object in search results loop
- Add Blog to WP homepage Manually
- How to show all posts by author on buddypress profile with navigation
- Shortcode with ‘year’ parameter
- Limiting post list by taxonomy
- Error while excluding a post from another loop (using its ID)
- How to use two query result together in one loop
- filter posts based on menu_order
- wp query custom orderby not custom field
- Loop through posts by each term and exclude duplicate posts assigned to several terms
- The next_posts_link() works only with original $wp_query
- Only show posts with image and the correct ammount of posts in loop
- Related posts by searching post tags of single post as terms
- What template file is used by default for posts?
- Custom Admin Post Column change order
- Image inside the content is replaced with featured image from my older post
- post loop with different design depending on post