I’ve scoured the forum and have found numerous posts relating to how to get the category ID in previous versions of WP but I can’t find any mention of how to get it in 184.108.40.206 (which is what I’m running). The codex says the old category_ID tag is deprecated (which I thought meant something else) but since the WP admin interface still displays category IDs there must be some way to get them. Link categories also use them, so why was this function made obsolete?
Anyway, ideally what I need is a way to display each category ID for a given post with an image tag wrapped around each ID, like so:
<img src=http://myblog.com/images/1.jpg><br /><img src=http://myblog.com/images/2.jpg><br /><img src=http://myblog.com/images/3.jpg>
That’s with “1” “2” and “3” being the category IDs for a given post.
Thanks in advance for any advice!!
- The topic ‘comment ID: how do I get it in 220.127.116.11?’ is closed to new replies.