category slug… how to?
-
In the category section, you can assign the slug you want, however, I haven’t gotten yet how to start wordpress using the slug instead of numerical ids. IE: in my menu I have categories listed (there are many)… how do I get the menu to list the links with the slug? I found this in the codex
<?php echo category_description(get_category_by_slug('category-slug')->term_id); ?>
but if that’s needed where do I put it so I get my category list in the menu to use the slug? Doesn’t that need to rewrite the htaccess file to redirect links?
thanks
JSC
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘category slug… how to?’ is closed to new replies.