How to get subcategory page link?
-
Hello there i am having issue to get the subcategory link in more see all post link
Here this code gives you the link to the category
<a href="<?php get_category_link( $category_id ); ?>">See All Posts</a>
but i want a code which can give me the link to subcategory not the category.
Any help would be appreciated.
Mandip
- The topic ‘How to get subcategory page link?’ is closed to new replies.