Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8573553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:16:42+00:00 2026-06-11T19:16:42+00:00

Anyone know how to count updates post per day (example: in this day/date) in

  • 0

Anyone know how to count updates post per day (example: in this day/date) in specific categories with wordpress query ?

Thanks a lot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:16:43+00:00Added an answer on June 11, 2026 at 7:16 pm

    I don’t know if I fully understand your question, do you want a count of posts in a specific category posted on a specific day/date?

    In this case, you can just create an instance of WP_Query and pass in the time parameters and categories you want you look at.

    Something like,

    <?php
    $today = getdate();
    $args = array('year' => $today["year"], 'monthnum' => $today["mon"], 'day' => $today["mday"], 'category_name' => 'Uncategorized');
    $search = new WP_Query($args);
    $count = $search->found_posts;
    ?>
    

    If you want to return posts based on the modified date (you state count updates post per day, which I don’t understand), then you need to add a ‘posts_where’ filter instead of the time parameters of args.

    See the time parameters link above for sample code and explanations on using this – but in slightly modifying one of their examples you can create something like this.

    // Create a new filtering function that will add our where clause to the query
    function filter_where( $where = '' ) {
    $where .= " AND post_modified >= '2010-03-01' AND post_modified < '2010-03-16'";
    return $where;
    }
    
    add_filter( 'posts_where', 'filter_where' );
    $query = new WP_Query( $query_string );
    remove_filter( 'posts_where', 'filter_where' );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone post a SQL query for Calculating Total No. of Orders per Day?
Anyone know how I can optimise this query? It works but it takes so
Does anyone know of a method to use CRTP to count the number of
Anyone know an example of phonegap with $.ajax() in github for Android? I have
Anyone know how to do draw sth similar to this in Java and working
Anyone know how to remedy this error? Specified cast is not valid. Description: An
Does anyone know about a good way to accomplish this task? Currently i'm doing
Afternoon, I would like to know how i would do this query in LINQ,
Does anyone know why in Oracle 11g when you do a Count(1) with more
Does anyone know how to count just the first level children of an element

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.