WordPress.org

Ready to get started?Download WordPress

Forums

Delicate
Translating READ MORE button is not working (7 posts)

  1. pingspongz
    Member
    Posted 2 years ago #

    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/

  2. keesiemeijer
    moderator
    Posted 2 years ago #

    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>';
    }
  3. pingspongz
    Member
    Posted 2 years ago #

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

    Now its translated to portuguese

    http://www.emagrecersemdieta.com.br

  4. keesiemeijer
    moderator
    Posted 2 years ago #

    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/

  5. pingspongz
    Member
    Posted 2 years ago #

    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!!

  6. eronoora
    Member
    Posted 2 years ago #

    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 :/.

  7. eronoora
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic