contacts

Get All 139 Premium WordPress Themes for Just $59.99
One-Time Payment: Unlimited Use Across Unlimited Domains, Plus Free Lifetime Updates!

Rename ‘Categories’ in Post Templates

Rename ‘Categories’ in Post Templates

You may need to rename the word ‘Categories’ in your post templates (i.e. to ‘Recipes’ if you have a cooking website). Here is how it can be done:

  1. Login to your Admin Panel
  2. Navigate to Left Menu -> Appearance -> Theme Editor
  3. Open content.php
  4. On line 26 rename the word ‘Categories’ and save changes:
<?php if ( has_category() ) : ?>
						<?php esc_html_e('Categories:', 'tishonator'); ?> <?php the_category( ' ' ) ?>
				<?php endif; ?>

Here is an example

<?php if ( has_category() ) : ?>
						<?php esc_html_e('Recipes:', 'tishonator'); ?> <?php the_category( ' ' ) ?>
				<?php endif; ?>

2 Responses to “Rename ‘Categories’ in Post Templates”

Leave a Reply