Question : get the category wp
Answered by : andrew-lautenbach
//get category name foolproof
echo (!empty(get_the_category($post)) ? get_the_category($post)[0]->name : '');
Source : | Last Update : Thu, 16 Sep 21
Question : wordpress get category description
Answered by : steamboatid
category_description( int $category )
Source : | Last Update : Fri, 24 Jun 22