Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you sure the count is wrong. All that plugin is doing is counting the number of rows in the posts table in the database so long as the row is post is set to published. Deleting a post removes the row entirely so deleting the post like you say you have done should indeed reduce the count.

    In any case if you really do want to reduce the count by one you need to open up post-count.php and change…

    SELECT COUNT(*) FROM

    to…

    SELECT COUNT(*)-1 FROM

    Thread Starter loftyfinds

    (@loftyfinds)

    Perfect thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘post count plugin – how to subtract 1’ is closed to new replies.