I am using wordpress and I am wondering how do I get just the permalink and name of the category of a post when using:
<?php the_category() ?>
The above outputs a list and I just want to be able to wrap the permalink and category in my own markup
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you want
get_the_category()andget_category_link():