how to get category URL path?
I need php code to get category URL path? I want to show state link on home page for each ads, I use code to echo the state:
<?php echo get_post_meta( $post->ID, 'cp_state', true ); ?>
Then I want to add a link to this state name, this link will redirect to refind search result by this state value. But I dont know how to get category url path. Current, your code return
<a href='http://........"">category's name</a>
I want to get only http://.
......., I dont want to get all link <a href...</a> etc code. How to get ONLY category URL path??