php – Display Category and Subcategory In WordPress Archive Title
I am ready to show appreciation of $20 for who can help me achieve this.
So, I have a WordPress site with multiple Categories and Subcategories.
I want to get rid of WordPress default Archive title and use a more detailed title, instead.
For a example, I have a Category named Primary Schools, and subcategory named London.
I need the Title of the archive page: example.com/primary-schools/london/ to have the Title: Primary Schools in London.
Also, I would like the items in the subcategory to be counted.
For example, if there are 20 Primary schools in the subcategory, London, the title should look like this:
20 Primary Schools in London
I have $20 to show my appreciation.
Someone should please help me.