Changing the heading of a specific category’s archives page

  • Anonymous


    Hi, I love graphene!

    I am needing some help, I found the way to change all Category Archive titles but I need to know how to change a specific title for one category…


    How woould I assign the change to effect only the one title on the specific Category Archive page.

    I want it just to say “News” but presently it is taking the word “Projects;” and adding it in front.

    I am using this code presently:

    function graphene_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Category Archive: <span>%s</span>' => '<span>Projects • %s</span>',
    '%1$s Archive: %2$s' => '%2$s',
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    return $translated;
    add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );

    function graphene_custom_post_content_excerpt_length()
    add_action( 'graphene_before_post_content', 'graphene_custom_post_content_excerpt_length');



Viewing 1 post (of 1 total)

  • You must be logged in to reply to this topic.
Graphene Themes Forum