Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get category post in wordpress

echo '<p>'. get_the_category( $id )[0]->name .'</p>';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #category #post #wordpress
ADD COMMENT
Topic
Name
9+7 =