You can do that with a custom SQL query, something along the lines of:
global $wpdb;
$results = $wpdb->get_results( "SELECT DATE(post_date) AS d, COUNT(*) AS c FROM $wpdb->posts WHERE post_status="publish" GROUP BY d" );
You’ll get an array of objects where d is the date and c is the number of posts published on that date. You should also put LIMIT constraints if you plan to query large datasets.
Hope this helps.
Related Posts:
- How to get post creation date?
- Changing the post date and time with function
- WordPress removing tags?
- Add tag to post api wordpress
- Set tags for a post – without tag creation
- Is it possible to Schedule Attachments in WordPress?
- How to put last edited entry on top of the blog-post list?
- Plain-text tag list?
- Edit a post from frontend. post_tags get saved, but not separated
- Update existing post dates to random dates
- featuring old articles without messing up with the archive
- how to limit and display tag?
- Include related posts on a page
- Human Time Diff, change mins to minutes
- Display custom post types by date field
- How to add shortcode tags in single.php [closed]
- Remove post_tag from default post type, add custom taxonomy
- Fetch posts from current week (Sunday to Saturday)
- How to set post expiration date and time and move the page to archive after expiration [closed]
- How to display all posts assigned to some tag?
- How To Add One Tag to Multiple Posts?
- Add Post Tags to Body Class
- Get random posts between specific dates / of specific age
- WP Query – duplicated posts once including tags in search results
- XML-RPC and post_date
- wp_tag_cloud() and the_taxonomies() work but not the_tag()
- Automatically republish old posts
- Tags to Post-ID mysql query. Tag Search
- Replace ‘published on date’ with ‘modified on date’ on Posts
- Display post from current category and same tag?
- How can I show many posts an author has per week?
- Should I use posts or pages in this scenario?
- “more” tag doesn’t appear when browsing category achives or search
- Display tag image in post using Taxonomy Images plugin index.php
- Help with Taxonomies
- WordPress Sidebar menu for posts based on date – guidance needed
- How can I hide tags on a child-category page, if that tag has not been used?
- date issue with category post retrival
- How to get date of post when using wp_get_recent_posts()?
- How to get a post’s content? [closed]
- Conditionals if tags exist?
- How to remove specific tag from multiple posts?
- How to get posts published on the latest date?
- Extracting relevant tags associated with that particular single post only
- How to change the layout of posts when viewing all posts by tag [closed]
- How to get post with associated categories and tags names instead of ids with rest api?
- Tags on products vs tags on blog posts. An easy way to duplicate them
- Changing Post Tag Color Based On Post Count
- How to update all posts at once?
- Assigning Two Different Post Dates For Single Post
- Using system date format
- Removing all post tags except a given list
- Add “Posted on” to post date
- Auto update post title and slug when post status is changed
- How to check if there are posts with the same tag
- In what context should Categories and Tags be used
- wp_query if have posts show date but not in loop
- Retrieving posts by their date and category
- How to compare post tags?
- Getting an extra post’s meta data?
- Short link to read complete post
- Delete all Tag Links from Posts
- How to Rearrange WordPress Tags list on frontend using Shortcode with specific order?
- Post date automatically +100 years into the future
- Can I show category name in url for only one of my categories?
- how to add tags to post in the Loop?
- Is there a way to categorize a list posts all at once?
- Change Old WordPress Post Date Year
- Css and function issue on author archive page
- Tag for custom post type
- WordPress get tags in “publish_post” hook
- Need to display a Jan 1st post as the site’s front page on Jan 1st, and Jan 2nd post as front page on Jan 2nd etc
- Top tags with minimum number of posts
- Set a post expiration and delete a post when expirate
- How to count posts in tags within time limit
- Why do I have categories with duplicate slugs?
- Exclude posts in home slider from sections
- Display Updated Date Instead of Published Date
- Display all tags even if they are not assigned to a post
- How do you update post date (year only) in a separate custom field?
- getting custom post by tag
- Replace Tag Keyword With Link Within Post Content
- show only one category and filter by tag
- How to hide meta from search result only on pages?
- How do I display posts ordered by a date custom field?
- Compare date of user’s last posts
- Query post for today, if no post get the previous one
- Hide Certain Tags on Single Post Page
- Display only current page -> posts tags in page
- Add tags to post before it’s created
- Display metabox with date
- How can I count articles retrieved by tags
- Display the popular tags by default in the backend post edit page (without having to click on the link that displays them) [closed]
- How to display a certain template element only for posts published within certain time range?
- the_time() cannot be placed correctly
- How to remove a specific script from bulk wordpress posts and images description?
- WordPress More tag doesn’t work on Single post
- how show post date for specific post?
- Insert Tag in WordPress Post
- WordPress converting ‘ to ’ and – to –?