foreach($post_categories as $c){
$cat = get_category( $c );
$cats[] = array( 'name' => $cat->name, 'slug' => $cat->slug );
- echo '<a rel="category" title="View all posts in '. $cat->name . ' " href="'. get_bloginfo('url'). $cat->slug .'">'. $cat->name .'</a>, ';
+ echo '<a rel="category" title="View all posts in '. $cat->name . ' " href="'. get_bloginfo('url').'/category/'. $cat->slug .'">'. $cat->name .'</a>, ';
}
}
$post_tags = wp_get_post_tags( get_the_ID() );