• Resolved universal1914

    (@universal1914)


    My client’s visitors are Spanish speaker only, so I have made the whole site in Spanish. However, I have not been able to find the source of the text “Archives For” displayed at the beginning of every category page, so as to translate it into Spanish. How can I change it?

    Cheers!

    (Great theme, by the way!!)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Trying to do the same thing…

    Update: I was able to edit a file at
    wp-content/themes/mesocolumn/lib/templates/headline.php

    Line 17:

    <h2 class="incat effect-1 header-title feat_tn_cat_color_<?php echo $cat_id; ?>"><?php _e('Archives for', TEMPLATE_DOMAIN); ?> <?php single_cat_title(); ?><?php if ( $paged >= 2 || $page >= 2 ) { ?> - <?php _e('Page', TEMPLATE_DOMAIN); ?> <?php echo $paged; ?><?php } ?></h2>

    You can see where it says ‘Archives for’ in the first bit of php in that line. I simply took out that whole bit so it just says (”, TEMPLATE_DOMAIN). Here’s the resulting code:

    <h2 class="incat effect-1 header-title feat_tn_cat_color_<?php echo $cat_id; ?>"><?php _e('', TEMPLATE_DOMAIN); ?> <?php single_cat_title(); ?><?php if ( $paged >= 2 || $page >= 2 ) { ?> - <?php _e('Page', TEMPLATE_DOMAIN); ?> <?php echo $paged; ?><?php } ?></h2>

    I think if you look around in that file you’ll see other places where there are headline bars hard-coded into the theme.

    Thread Starter universal1914

    (@universal1914)

    @susanlow

    Thanks a lot for taking the time to share your own experience.

    I had not been able to find the file where the “Archives for” text was! Now you have saved me a lot of time ??

    I’m going to change that text and see what happens. I’ll let you know ??

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can I change the text "Archives For" from the category page?’ is closed to new replies.