Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Fixing WordPress
    In reply to: Category Numbers
    Thread Starter LawMaker

    (@lawmaker)

    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
    In reply to: Category Numbers
    Thread Starter LawMaker

    (@lawmaker)

    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)