Timeline for Counting the number of post without custom post type
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 22, 2018 at 17:44 | comment | added | dkeeling |
Happy to help! You can use get_category_link() to create the link. Just pass in the ID of the category with $cat->term_id (in the foreach loop)
|
|
Feb 22, 2018 at 14:01 | vote | accept | jjycjn | ||
Feb 22, 2018 at 14:01 | comment | added | jjycjn | It's working exactly as I wanted! Thank you so much. Now, I have to figure out how to add a link to each category and give css and etc... | |
Feb 21, 2018 at 18:11 | comment | added | dkeeling | @jjycjn See above. Maybe this is more along the lines of what you're looking for? | |
Feb 21, 2018 at 18:11 | history | edited | dkeeling | CC BY-SA 3.0 |
Added a possible solution
|
Feb 21, 2018 at 14:31 | comment | added | jjycjn | I think my question was not so clear. As @Jacob Peattie mentioned in the comment, I want to modify the built-in counting function by WordPress. Do you also have a solution in this situation? | |
Feb 21, 2018 at 4:13 | history | answered | dkeeling | CC BY-SA 3.0 |