Special Offer: Get All 150 Premium WordPress Themes for Just $59.99 Purchase Now

contacts

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”

    • Hi Mike,

      in such you will have to DELETE these code blocks:

      code for comments and tags

      Thanks,
      Tihomir
      Tishonator Team