Change text from button 'Read more' into our

  • Maciej

    its’ working now.

    Great. Big thanks for help !

    Hmm, it’s working with the ‘leave comment form’, but not with the ‘Read more’. Is the ‘read more’ correct text in english ver. of this theme? Im tryin to put ‘Read more’ => ‘Czytaj dalej’, and no effect.



    Yes, it is Read more. But it is used in homepage panes only.

    function graphene_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Leave comment' => 'Skomentuj',
    'Read more' => 'Czytaj dalej',
    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 );




    And what it actually means ? :D. It’s not possible to change it than ?


    And what it actually means ? :D. It’s not possible to change it than ?

    Cuz that code from above is not changing it.



    I mean, the “Read more” text is used in homepage panes only. Have you enabled the homepage panes? Can you post link to your site and tell which part do you want to translate?



    Yep, I see, but actually ‘Leave comment’ is also only at homepage, like ‘read more’. But since it’s all workin well with ‘Leave a comment’, for some reason nothing happend when i want to change ‘Read More’.

    I cant post link to my site, cuz i’m working on it offline throught XAMPP application.



    You could change the language to English and check what’s the exact English word for it.



    where can i change the language of Graphene Theme ? :>



    You can’t change theme’s language. You have to change WordPress language in wp-config.php


    define ('WPLANG', 'pl_PL');


    define ('WPLANG', '');



    Its ‘Read the rest of this entry’.

    Anyway, changing it in functions.php still don’t resolve the problem. nothing happend.


    Maybe problem is, that i used that button ‘read the rest of this entry’ as a tag ‘more’ while makin new post. I don’t rly know.

Viewing 10 posts - 11 through 20 (of 20 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!