WordPress.org

Support

Support » Themes and Templates » Delicate » [Theme: Delicate] Translating READ MORE button is not working

[Theme: Delicate] Translating READ MORE button is not working

  • Hi. I´m trying to translate “read more” button for days and I don´t know why it´s not working like people say.

    I already tried to enter another phrase inside the_content() but it didnt change anything… Some other themes have an option to change it, I´m almost getting another theme just because of this problem, but I really enjoy Delicate.

    Please help me.

    http://wordpress.org/extend/themes/delicate/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator keesiemeijer

    @keesiemeijer

    Try and change it in include/hooks.php:

    function natty_continue_reading_link() {
    	return ' <a href="'. get_permalink() . '">' . __( 'Read more <span class="meta-nav">→</span>', 'nattywp' ) . '</a>';
    }

    THANKS A LOT KEESIEMEIJER !!!!!!!!!!!

    Now its translated to portuguese

    http://www.emagrecersemdieta.com.br

    Moderator keesiemeijer

    @keesiemeijer

    You’re welcome. Glad you got it resolved.

    There are still some things that need to be translated. When you hover over the categories you get “View all posts in Alimentação”.

    To translate the rest of the theme you can use this plugin: http://wordpress.org/extend/plugins/codestyling-localization/

    And here is a tutorial on how to do this: http://alefba.us/how-to/localize-wordpress-themes-plugins-codestyling-localization/

    Thanks for your advices, but I already tried using this plugin and I don´t know why its not working properly (I think). I can´t find some words that I want translated, for example “read more”.

    But Ill try again.. Thanks a lot!!

    Keesiemeijer, I applied your code to my hooks.php and now I can’t enter my site again :/!!!! When I try to enter it says:
    “Fatal error: Cannot redeclare natty_continue_reading_link() (previously declared in /home/eronoora/public_html/wp-content/themes/delicate/include/hooks.php:112) in /home/eronoora/public_html/wp-content/themes/delicate/include/hooks.php on line 167”

    So where exactly am I supposed to replace the code (I put it in the end)? And does anybody know how can I get my site working again?! It’s urgent :/.

    I contacted my host and I can already enter to my site. But I’m still without functioning more tags… anybody???

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Theme: Delicate] Translating READ MORE button is not working’ is closed to new replies.
Skip to toolbar