get category post in wordpress

142

get category post in wordpress -

echo '<p>'. get_the_category( $id )[0]->name .'</p>';

Comments

Submit
0 Comments