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]
- Get post ID in post/page edit area
- How to include my own css in post
- Custom post types related to same custom post type?
- How do I insert a post with custom post type and relate it to a custom taxonomy?
- Dynamically switch template on click
- why there are so many posts whoes post_type is revision? will these records waste too much database space?
- “about us”, ” contact” sections should be article(post) or page in the simple small Business website?
- Is it possible to customize the post according to post format in single.php?
- Customize rel=canonical tag for single blog post
- $post->post_type not working
- a little direction on custom post type
- disable Tab post on nav-menus page (Admin)
- how can i allow users to view their own pending posts in a front-end page
- Format latest/newest post differently
- Custom taxonomy archive page problem
- Tell WP to use a specific template file in posts
- How to remove specific tag from multiple posts?
- Is there a way to create a meta box that can be added multiple times to a post dynamically?
- How to detect when admin user is on the All Posts page?
- relating business and products with custom taxonomy?
- Best Way to Add UnEditable HTML to Posts
- How safe is it to delete old posts edits to save database space?
- Given two custom post types: Automatically add meta fields from one custom post type to another
- How to only allow post to be deleted if custom field doesn’t exist
- Display metabox with date
- Show a Category Specific Info Box
- Successive creation of over 1000 posts causes 404?
- Is possible to create a custom link that creates a post that’s already categorized?
- Make a custom URL and link to custom Template
- Why is $_POST Empty in Profile Edit Admin?
- How can i retrive the movies, trailers, news in a single page using search
- Special Query: Title, Terms, Content – %LIKE%
- Custom Post Title as search term
- Display the popular tags by default in the backend post edit page (without having to click on the link that displays them) [closed]
- Add default content to post (for specific category)
- How can I allow users (subscribers) to download selected posts into a single PDF? (RESOLVED)
- WordPress Admin Tables in Post View
- Can I hide only one category from admin post list?
- Setting default category for display
- Custom Post Type Pagination 404 Error (if paged>=2) [duplicate]
- adding custom meta as well as looping through posts
- Display ONLY Latest Post From Several Categories
- get post custom value
- Admin moderates ALL comments (including post author)
- WordPress strips some attributes for author posts
- First Custom Post Custom Fields Empty After New Custom Post
- Automatically delete default posts and pages on theme install?
- Best way to enable sorting by 3 criteria on a page of listings
- WordPress 3.2 – Problem with WYSIWYG editors in a custom post type?
- How to Do Custom Fields to Output a Definition List
- Display one post randomly from category on home page
- Posts in Admin only display 1 Post instead of all
- How to show only the date, the title and a little “summary” of my WordPress post in my custom theme?
- get_posts includes “auto drafts”?
- How to have more post in a page than in your home page
- Deleting first four characters from all Post Titles
- Deleling wordpress posts permanently still have IDs
- How remove “recent comments” title without modifying code? [closed]
- custom post type single page template not working
- I am creating a front end dashboard where I need to show all the posts by the current user. So, I need to show posts in publish
- Taxonomy Category category.php not working
- How to remove a specific script from bulk wordpress posts and images description?
- Post’s arent displaying
- Display post structure in function
- Can I get custom post items in select box (dropdown)
- Only show posts belonging to multiple cateogries at same time
- How to have 2 posting pages on a blog
- Default post type doesn’t display in url
- Do anything on post_status change [duplicate]
- How edit footer copyright info? [closed]
- Dynamic Menu Item
- How do I get content of custom post type through post ID
- Changes done in admin panel are taking time to reflect in the REST api responses
- Need to show birthday of custom post type(Famous people in this case) in elementor. Date of birth set in custom fields
- Notify/check if the content of a custom gutenberg block has changed on save_post
- I have a website issue I am trying to resolve
- WordPress Custom Post type csv exporter
- Edit Page button is gone
- editPost without undo entry
- How to set something to added automatically to the post
- Only an admin can add new tags
- Can`t attach image to a multiple posts
- WordPress as microblog: show excerpt instead of “(no title)” in posts view
- REST API – Retrieving posts with custom status
- Implementing Soft Delete for Bulk Actions / Empty Trash
- Plugin or code to send out email to admin when a post is created
- How to restore post to pending status (no draft)