CMS Mastering Development Wordpress

How can I display only related categories within the post page?

How can I display only related category when accessing the posts related to that category? I only have 2 categories and the category ID is as follow:

I would like to display related category name on the post’s sidebar as highlighted here –

How can I display the category name based on known category ID?

Leave a Reply

Your email address will not be published. Required fields are marked *