contacts

(+359) 88 339 4445

Buy All 40 Premium WordPress Themes for $54.99
No Additional Fees, Pay Once and Use Unlimited Time for Unlimited Domains

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