Home>Support>vantage premium – modifiy “Category archives”

vantage premium – modifiy “Category archives”

By Henry, 9 years ago. Last reply by Alex S, 9 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hello everybody,

I have recently started blogging with vantage and am quite happy with it.

One thing I have to change is when I give a name and some content to the category, it will still say in the headline “Category Archives”, which is not very convenient, particularly since I write mainly in German.

I found advice to create a “child theme”, but this already goes beyond my abilities.

If I upgrade to “vantage premium”, will I be able to solve my problem?

I need to have a proper category content and would like to “get rid” of “Category Archives”.

Hope I could explain my problem. I am not very good at technical things.

Thank You for your help.

Best

Henry from Prishtina

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 3 months ago Alex S
    Hi, I Work Here

    Hi Henry,

    Glad you’ve taken a liking to Vantage. :)

    So just to clarify, would you rather hide that or have it be in German(ie. Archiv der Kategorie – that’s what we have on record)? If so, Vantage is (roughly) 48% percent translated into Germany according to our WordPress.org Translate project.

    To make use of the translation all you should have to do is make sure WordPress is set up to run in German and it should install the language file the next time it checks for updates.

    Let me know if this helps. Please note that you’re more than welcome to contribute any translations to the project. :)

    Oh, and this functionality isn’t locked behind premium or anything like that. The main reason you would upgrade to premium is for faster support (roughly an hour response time depending on the time of day), and new and existing features such a responsive menu.

  2. 9 years, 3 months ago Henry

    Hi Alex,

    thanks a lot for your kind reply!

    In fact, I would rather remove it totally or substitute it by a completely different, freely chosen word. I also put some text there, which does not appear at the front-end in an optimal way. Maybe I do something totally wrong? As I said I am quite a dabbler.

    And of course I would love to contribute to the translation. Maybe best would be to send me the words or sentences to translate? Or please suggest some other way.

    Best

    Henry

  3. 9 years, 3 months ago Alex S
    Hi, I Work Here

    Hi Henry,

    Option 1: You have two options for this. Hide the text altogether, or just show the category title and nothing else. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.

    Hide:

    .archive .site-content .page-header .page-title {    display: none;}

    Show just the category title:

    .archive #page-title {	font-size: 0;}.archive #page-title span {	font-size: 23.4px;}

    You might also need to install the SiteOrigin CSS Editor.

    Option 2: To do this you have two options also. Use an “on the fly translation plugin” such as Loco Translate, or the child theme route. Here’s a child theme I’ve setup for you with the archive function set up in the functions.php file. Now it’s a bit complicated so I don’t recommend it if you’re not familiar with basic PHP. Just replace the desired string with whatever. For instance, if you wanted to replace Category Archives you would replace the following line:

    $title = sprintf( __( 'Category Archives: %s', 'vantage' ), '<span>' . single_cat_title( '', false ) . '</span>' );

    With:

    $title = sprintf( __( 'Category: %s', 'vantage' ), '<span>' . single_cat_title( '', false ) . '</span>' );

    %s must always remain as that’s replaced with the name of the category. You can move it however so, for instance, this work:

    $title = sprintf( __( 'My awesome category is called  %s! Rad huh! ', 'vantage' ), '<span>' . single_cat_title( '', false ) . '</span>' );

    Regarding contributing to the German translation. It’s actually really simple these days. As always I have to recommend giving the Translator Handbook a read before proceeding.

    To submit a translation go to the German translation page, find an untranslated string or imperfect translation, then click details. Input a new translation into the text area and you’re done.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More