Categories permalinks, how to …
-
Hello,
It’s very easy to output the URL for posts with get_permalink($post->ID) but what if we need to output the URL of categories?
I’m thinking about something like
foreach (get_categories() as $cat) {
echo some_function($cat->cat_ID);
}Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Categories permalinks, how to …’ is closed to new replies.