Title: LawMaker's Replies | WordPress.org

---

# LawMaker

  [  ](https://wordpress.org/support/users/lawmaker/)

 *   [Profile](https://wordpress.org/support/users/lawmaker/)
 *   [Topics Started](https://wordpress.org/support/users/lawmaker/topics/)
 *   [Replies Created](https://wordpress.org/support/users/lawmaker/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/lawmaker/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/lawmaker/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/lawmaker/engagements/)
 *   [Favorites](https://wordpress.org/support/users/lawmaker/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Category Numbers](https://wordpress.org/support/topic/category-numbers-1/)
 *  Thread Starter [LawMaker](https://wordpress.org/support/users/lawmaker/)
 * (@lawmaker)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/category-numbers-1/#post-1806166)
 * I know im doing a very poor job describing what im trying to do. Here is more
   of a visual:
 * Category Name One (12 Posts)
    Category Name Two (4 Posts) Category Name Three(
   6 Posts)
 * Where 12/4/ and 6 is above, I need to dynamically update when a new post is added
   to that category.
 * Note: Category Name One, Category Name Two, and Category Three are hard coded
   text, I just need the number to be displayed dynamically. I got it working on
   all pages with my code except the specific category pages where IE: If we are
   on the category name two page it would show “Category Name Two ( Posts)”
 * Thanks again for the help,
    LawMaker
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Category Numbers](https://wordpress.org/support/topic/category-numbers-1/)
 *  Thread Starter [LawMaker](https://wordpress.org/support/users/lawmaker/)
 * (@lawmaker)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/category-numbers-1/#post-1806135)
 * Well to be perfectly honest. I found the code through google a while ago. Im 
   not very good with PHP and I am learning as I go along so I am not really 100%
   sure what those lines do. All I know was I needed to change the #5 to be the 
   ID of the category in which I want to show the number of posts inside that cateogory.
 * That is really all I am attemping to do. If a certain category ID has 37 posts
   that I want the number 37 to be displayed.
 * Please let me know if I can give you any more info, if I did not anwser your 
   question here.
 * Thank you in advance
    LawMaker

Viewing 2 replies - 1 through 2 (of 2 total)