I want to show category in the post title , how can I do June 3, 2022 by Tarik Billa You can use the function wp_get_post_categories to loop over the posts categories. See WordPress Docs for more info