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 posts published between a date and today?
- 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?
- using wp_update_post on save_post
- How to remove Nextpage tag inside posts text depending of utm_campaign
- Verify if tag is used on posts
- How to put last edited entry on top of the blog-post list?
- Query posts from current year
- Plain-text tag list?
- Display posts by tag on page
- Edit a post from frontend. post_tags get saved, but not separated
- Convert IPTC keywords to blog post tags
- Update existing post dates to random dates
- featuring old articles without messing up with the archive
- how to limit and display tag?
- How to display an icon when a new post is published and then remove it when a specific time past?
- How to output comments number of a post per day?
- Include related posts on a page
- Human Time Diff, change mins to minutes
- Display custom post types by date field
- How to display post tags
- How to add shortcode tags in single.php [closed]
- How can I display a specific user’s first published post?
- Remove post_tag from default post type, add custom taxonomy
- What Defines What Category A Post Picks (if in multiple)
- Can wordpress differentiate between added and updated posts?
- Fetch posts from current week (Sunday to Saturday)
- How can get the last post date of the user?
- Tag for custom post type
- How to get post creation date?
- 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
- Remove status ‘archived’ from the default post and page view
- 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?
- Sync All Post Type Tag
- getting custom post by tag
- How do i search post by jquery datepicker?
- Replace Tag Keyword With Link Within Post Content
- Excluding tag Link from html tags in Post content
- I really need help… I am looking for a solution about 28hours
- 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?
- Can I Paginate Post after every 25 tag?
- Show all posts from the tags without having to set all of them
- Find post tags words in post content and link them to tag URLs
- Compare date of user’s last posts
- Set multi posts random categories and tags
- Adding post date to ACF field
- How can I set and update the the_date according to a custom field of the post
- Query post for today, if no post get the previous one
- Set post beginning date and final date
- Hide Certain Tags on Single Post Page
- Skip posts, but keep posts per page
- Display only current page -> posts tags in page
- How to display an icon when a new post is published and then remove it when a specific time past?
- Posts tagged with a-new-tag does not appear
- Query posts from a specific category and selected tag
- Back up post tags
- Add tags to post before it’s created
- How to organise post by category and date
- Display metabox with date
- Tags not appearing in “Add New Post” Page
- Output posts with same name as tags?
- How can I count articles retrieved by tags
- Should new posts already have tags?
- Last three posts not being put in order by date. How to fix this?
- 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 change text (date) in post base on the day
- retrieve post slug by post_tags taxonomy
- Related posts by searching post tags of single post as terms
- 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?
- Tag page that displays specific posts
- WordPress More tag doesn’t work on Single post
- How to remove a date from wordpress post
- how show post date for specific post?
- Exclude posts by date – related post
- Get related posts matching most of the provided tags using WP_Query
- How to remove category and other tags from posts page
- How to get total posts count for each date?
- Insert Tag in WordPress Post
- Only an admin can add new tags
- WordPress blog post tags in 2 rows
- How to get orders that contains a product by date?
- WordPress converting ‘ to ’ and – to –?
- Display related posts randomly that match “any” existing tags?
- Unable to create categories and tags for posts in wordpress multisite