You can use the answer given here:
How to add a quicklink to the Posts Admin Published|Scheduled|Trash menu
For e.g. Stephen Harris answered the same question to add an extra menu item for displaying today’s posts.
add_filter( 'views_edit-post', 'wpse_add_my_view');
function wpse_add_my_view($views){
global $post_type_object;
$post_type = $post_type_object->name;
$y =mysql2date('Y', current_time('mysql') );
$m =mysql2date('m', current_time('mysql') );
$d =mysql2date('d', current_time('mysql') );
$views['today'] = "<a href="https://wordpress.stackexchange.com/questions/127125/edit.php?year=$y&monthnum=$m&day=$d&post_type=$post_type">".__('Today','myplugin')."</a>";
return $views;
}
Related Posts:
- Put page on Archived statut after end of publication date
- How to display by default only published posts/pages in the admin area?
- Any way to create a revision of a post ONLY with a new button in the Meta Box?
- Hiding by default specific post status on backend list?
- Allow role to delete posts but block him the wp-admin
- How to get a nofication when post submitted
- WP Admin register taxonomy and post type performance
- How to add convenient buttons for new custom post statuses
- Hide or remove custom post status
- Creating widget – ask for selecting a post in the admin panel
- issue in wordpress auto delete post and redirect to another 1
- Choose options via url
- Post Format Status [closed]
- Is there a action hook for the “Empty Trash” button?
- Add a checkbox to post screen that adds a class to the title
- Help! Turn php link data into url OR hide edit link in post admin OR hide drafts for all users except admin?
- Attach pdf file to custom post type
- How to Load Scripts and CSS for Admins Only When Editing or Adding Posts
- Make “Post published. View post” Open in a New Tab
- Navigation link to specific user page
- How to edit wordpress RSS feed to show post title only
- Add custom field to category of custom post type
- Remove whitespace at the end of posts?
- What Can I Use To Add A Custom Button Between Publish button and Move To Trash?
- Add filter-by-tag in the all posts admin console page
- Add custom fields to post programmatically
- user contributed content as custom post types
- Remove custom posts that match taxonomy value
- Custom Theme Want To Remove One Category From All Displays
- Is it possible to have two different previews of a post (ie. two templates for one post)?
- Filter Posts By Tag
- Post Type Label Name
- wp_query ‘s’ parameter does not work with custom post type
- How can I set a Post’s default visibility to private and pending review checked
- Blog Posts in Custom Menu
- How to display data in archive page?
- Set terms in a custom post
- Display posts styled exactly like default posts
- Move first half of posts to one parent page, second half to the other page
- Custom Post Type – Category Rewrite – Remove Rewrite from Sitemap
- CPT archive redirects to single post
- Prevent Delete Attachment by URL or When Submit
- How can i limit the number of posts created per category?
- Turn On Comments On Custom Post Types in Directory Theme
- Responsive images with custom image size
- Duplicate Custom Post Type and Taxonomy Slug
- Take a received feedback item, turn it into a post
- Calling Different Custom Post Timestamps in a table
- WordPress capabilities on pending post status
- Set Default Category to Username
- show custom post type category dropdown sorting result on same page
- plugin to post from admin to flickr [closed]
- Get post ID in post/page edit area
- “about us”, ” contact” sections should be article(post) or page in the simple small Business website?
- Customize rel=canonical tag for single blog post
- disable Tab post on nav-menus page (Admin)
- how can i allow users to view their own pending posts in a front-end page
- How to remove specific tag from multiple posts?
- Best Way to Add UnEditable HTML to Posts
- How safe is it to delete old posts edits to save database space?
- Two Custom Post Types with Identical Articles Competing for the same Slug
- Is codex right on deleting post?
- How to get different Related Posts
- l accidentally permanently deleted a Draft. There’s any way I can recover it?
- Inserting an example of the last 3 post on to the homepage
- Can WordPress handle following functionalities?
- Get a term each custom post type
- Getting post and attached image from subdomain
- Help on conditional statement to accompany wp_insert_post function please?
- Alt text attributes not showing over portfolio images
- Adding an option to post editor to show a site disclaimer or message
- Search results for ACF data
- Redirect to custom post if custom archive page has just one result?
- Multiple posts in one page
- delete post hook not being fired when deling in wordpress dashboard admin
- WordPress Delete Users from backend doesn’t work
- Is it possible to make a custom post that adds multiple pages?
- Custom post styling per category?
- Hook To Get All Posts Deleted
- Meta boxes not saving
- Custom Select Query pagination not working properly
- Custom URL Structure for posts with subcategories
- How to show the posts list into a static page? Problems to use the loop into a static page
- Adding The Post Template Dropdown to WP-Admin
- wordpress paginate, link to the right page
- Allow users to create their own page/s
- 404 for some custom taxonomy not ALL taxonomy
- Add default content to post (for specific category)
- Setting default category for display
- WordPress strips some attributes for author posts
- How to Do Custom Fields to Output a Definition List
- Display one post randomly from category on home page
- Deleting first four characters from all Post Titles
- Deleling wordpress posts permanently still have IDs
- Taxonomy Category category.php not working
- Post’s arent displaying
- Can I get custom post items in select box (dropdown)
- How to have 2 posting pages on a blog
- Dynamic Menu Item
- I have a website issue I am trying to resolve