Okay
  Public Ticket #239196
Remove Category Archives From Title Display
Closed

Comments

  • Grant started the conversation

    HI,

    Hi I'd like to remove the "Category Archives:" text from the category pages. Here's an example on teh demo: http://themenectar.com/demo/salient-frostwave/category/dining/

    If I go to index.php I can see the code for it on lines 17-19:
    } else if(is_category()) {

    printf( __( 'Category Archives: %s', NECTAR_THEME_NAME ), single_cat_title( '', false ) );
    }

    As I'm using a Salient child theme do you know a function I could add to my functions.php file that would remove the "Category Archives:" text?

    Thanks!

    Grant

  •  8,470
    Tahir replied

    Hey Grant!

    The other easier way would be to use codestyling localization and remove the string from it. 

    All the Best,

    -T


    ThemeNectar Support Team 

  • Grant replied

    Hi Tahir,

    Thanks for getting back, not sure what you mean though by codestyling localization?

    Any tips to make it work using that method?

    Cheers,

    Grant

  •  8,470
    Tahir replied

    Hey Again!

    My bad, You can translate the theme using codestyling localization plugin and then remove that string.  Please see FAQ: http://themenectar.ticksy.com/faq/2242

    Cheers


    ThemeNectar Support Team 

  • Grant replied

    Thanks for the link. I tried installing the codestyling localization plugin you mentioned but I can't get it to add a new language (the 'add new langauge' button doesn't work on any page).

    I've ended up uninstalling it as couldn't find a solution in their support where some others had a similar problem.

    I was happy using the child theme set up I had originally - is there any way you could help with creating a function that would remove the 'Category Archives:' text from my functions php file?

    I know that's back to my original question but not sure what else to do if I can't get the localization plugin working.

    Thanks again,

    Grant

  •  8,470
    Tahir replied

    Hey Grant!

    Use the attached child-theme. Make the changes as per your liking in index.php. 

    Cheers


    ThemeNectar Support Team 

  • Grant replied

    Perfect - didn't realise it was that simple via the child theme :)

    Thanks again Tahir, have a good week!

    Cheers,

    Grant

  • Sarah replied

    This was a great help to me! I didn\'t know it was in the index.php. That\'s what I needed.

  • Adam replied

    Hi. I just tried using this child theme... Is this still up to date? My category archives display as classic masonary even though I\'ve selected meta overlaid with this child theme. When I switch back to the main theme, the meta overlaid works perfectly (but of course I have \"category archives\" displayed again)

  •  8,470
    Tahir replied

    Hey Adam,

    No it has the old index.php file. Please copy paste the new index.php file from Parent theme to child theme and make the changes in there.

    Best.


    ThemeNectar Support Team