WordPress.org

Ready to get started?Download WordPress

Forums

How to get subcategory page link? (1 post)

  1. mandipluitel
    Member
    Posted 7 months ago #

    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

Reply

You must log in to post.

About this Topic