Return to Support

Show next page instead of older post

Home Forums Graphene WordPress theme Support Show next page instead of older post

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10213
    Anonymous

    Heloo, i would like to change older post to next page in the homepage and on categories page. can anyone help me me blog is beta.hitzgh.com

    thank you

    #45627
    Anonymous
    Member

    If you mean changing the text then follow the instructions here:

    http://www.prasannasp.net/how-to-change-translate-a-string-in-graphene-theme/

    « = «

    function graphene_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Older posts «' => 'Next Page «',
    );
    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 );

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.