get category post in wordpress

145

get category post in wordpress -

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

Comments

Submit
0 Comments