• <li>
    <a class="btn btn-border-lite" href="<?php $cat =get_the_category();
    $cat = $cat[0];
    echo get_category_link($cat->cat_ID); ?>">
    <?php _e('ALL POSTS','frost'); ?>
    </li>

    I want to change this go to the parent category page that skip the child category because I don’t want create the other child category page for no reason.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom WordPress Category Link?’ is closed to new replies.