How to Get Particular Category Title in you WP?

You Just Write Below Code for you Category Title purpose.

<?php
$cat_id = ’11’;
echo get_cat_name( $cat_id );
?>

this is showing the category title in your particular post category title.

Leave a Reply

© 2020 Spirituality