How to change “Top text” to the category category of the post?
“Related posts from XXXXX Category”
here is the code to get the category:
$category = get_the_category();
Where i can insert it that it will work and output the category like in the example?
- The topic ‘How to change "Top text" to category name?’ is closed to new replies.