Remove Category

Hi there!
How can i remove the word “Kategorie:…” on the category-side? I want show only the name of the Category - for example “Events” not “Category: Events”.
I have already looked for a category.php to edit it… but i can`t find a category.PHP in Sydney. Can you help me please?

BEst regards!

Hello there,

Thank you for asking.

To accomplish it, try doing the below steps:

  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the following code into the provided box
    jQuery(function($) {

      if( $('.archive-title').length ) {
        var arvTitle =  $('.archive-title').text();
        var NewArvTitle = arvTitle.replace('Category: ', '');
        $('.archive-title').text(NewArvTitle);
      }

    });
  1. Update

Afterwards you may need to clear any applied cache as it usually prevents new code addition from taking immediate effect.
https://codex.wordpress.org/I_Make_Changes_and_Nothing_Happens

Regards,
Kharis

Thank you for your help!
I did everything as you wrote,
wrote the code in the box and cleared the chache -
but unfortunately nothing changes:

Hello there,

Please share a link to one of your category pages, so I can check what might be stopping it.

Regards,
Kharis

hier is the link:

https://bit.ly/2mOEU9O

Thank you for sharing.

As your site speaks non-English, you have to match the target word that will be removed.

Replace this line of code in the code I suggested above

   var NewArvTitle = arvTitle.replace('Category: ', '');

with

   var NewArvTitle = arvTitle.replace('Kategorie: ', '');

Regards,
Kharis

Thank you very much! It works now. Thanks for the really exceptional great support!!!

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis