I think this is what you want…
This isn’t tested so you may have to fiddle with it.
in your functions.php
file, add something like this :
EDIT (2)
After rereading, I saw you’re not using custom post types, so i’ll change my code accordingly. I don’t know how to detect when you’re on the ‘manage all posts’ page, so maybe someone can complete my 'if'
statement.
This should work.
function set_post_order_in_admin( $wp_query ) {
if ( is_admin() ) {
if( 'edit.php' === $GLOBALS['pagenow'] ) {
$wp_query->set( 'orderby', 'menu_order' );
$wp_query->set( 'order', 'ASC' );
}
}
}
add_filter( 'pre_get_posts', 'set_post_order_in_admin' );
Related Posts:
- How to Change Order of Posts in Admin?
- Random sort within an already sorted query
- Different post sort order within different categories
- Setting Custom Sort Order of Posts within a Category
- Can I force a metabox to be in one column?
- How to Group Posts by the First Letter or Number?
- How to Arrange Posts by Size in the WordPress Dashboard?
- blog posts sorting doesnt work while using get_query_var
- How to sort posts by last name (2nd word) on ONE category only?
- Group Posts by First Letter of Title
- Sort wp post title with alphabetically and numerically?
- Exclude posts with specific meta_value while sorting by a separate meta_value
- Possible to create a permalink to sort with meta_key?
- How to choose a sort order (for posts) per category? (ideally when creating a new category)
- Plugin for sortable posts in grid [closed]
- Sort posts by newest child while keeping hierarchy intact
- Filter Posts by Excluding Categories
- Sorting posts alphabetical that have single digits
- Sorting posts according to the term they belong to
- Sorting posts according to view counts not working
- Server-side sorting of posts
- How to sort posts inside categories
- How to display posts via custom taxonomy terms using checkboxes?
- how can i change WP main archives loop to sort by name or title
- how to get post order by post id wp_query?
- Sort Custom Post Type by Category ID then Post Name
- Post filtering is returning blank page
- Sort by last word in title
- Sort All Posts by Category Name in the Admin Panel?
- How to list post as buch of category, and all of them
- How to sort WP_Post Object array by object field in php?
- Sorting post by custom field and category
- Ajaxify Post Sort
- How to sort posts in admin by name
- Sort / Filter Queries
- Sorting Posts by Date – get_blogs_of_user_id()
- Sort Posts Alphabetically by Multiple Categories [duplicate]
- How to get alphabetic listing x other posts, based on first letter post?
- Sort by category and then date?
- custom sort posts in archive/taxanomy page
- Filter/Sort Post Form On Taxonomy page
- Sort Posts Alphabetically Based on Specific Category (Divi)
- How to sort posts alphabetically based on a specific parent category
- Post/Page Preview Template
- Post slugs and images cannot have same name?
- Convert custom fields to post categories
- Hide password protected posts in admin
- Most viewed post for the last 2 days using WP_Query
- Adding Post Counts to Menu (Nav) Programmatically?
- This AJAX Code Doesn’t Work – Looking for elegant solution
- Show One Category on Post
- Creating new page with pre-defined parent page
- How To Add Perfect Apostrophe And Quotation Mark In WordPress Posts?
- Send email to user that his post has been rejected
- How to get posts by multiple post slugs? [duplicate]
- Changing next and previous post link text
- Inserting custom data to the_post() during loop
- How To Hide A Post
- Visting slug for ‘post’ post type shows 404 not archive?
- Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?
- How do I change the location of post-specific information?
- Adding a user’s ID behind the tag ref link address
- One post out of more than twenty shows odd picture (from post) in the header
- Benefits to using semantic HTML in post content? [closed]
- custom word in custom permalink structure
- Using wp_tag_cloud with only posts published in specific year
- Post: how to set created date after post has been published [closed]
- Display Featured Posts Grid on Static Page (Gazette)
- How to get the next and previous image title from attachment or gallery?
- WordPress posts have a different URL to the index
- Blog posts pagination not working
- unable to write to the database while uploading images
- Restricting displayed posts to posts from only select authors
- WordPress sorting posts by date and title using a dropdown
- Updating post status via rest api
- How can I create a Survey Form in WordPress that users can fill in and then submit the entire survey contents as a post?
- How to Make my Homepage Display a Single Specific Post?
- Anchor links turn to p nbsp p
- Scheduled posts appear as clickable in the front end
- Counting Posts by Category
- 2 Domains, Same Content, Different Titles?
- Show author bio box
- WordPress each user has each content for a page,how to do that?
- Fixing the WP Post Object for Custom Route
- Changing the Category for all posts of an Author
- How to remove related post from home page
- Is it possible to have dynamic post id # in add_menu_page()?
- Send/Publish a Post front end
- Hiding menu on mobile only when viewing posts?
- Posts don’t appear on Template Page
- Insert new post for each user infinite loop error
- Last three posts not being put in order by date. How to fix this?
- WordPress sub-posts and permalinks
- limit posts per page
- WordPress Admin Tables in Post View
- Show List of Posts With Comments Open
- When and how will php code in a user made WordPress page be executed?
- Onclick open posts displayed in slider in a popup [closed]
- Listing category and its posts one by one
- Print out one of 2 post category [closed]