Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

If you Like the Asteria Lite Theme and want to Keep it free forever Please Rate it on Wordpress.org (It only takes a few seconds)
Viewing 4 posts - 1 through 4 (of 4 total)

change the "read more" button in Blog

Home Forums Free Theme Support Asteria Lite change the "read more" button in Blog

  • #363171

    Leandro

    Hi,

    I just want to know how can I change the text of the button “read more”

    Actually I must translate it in another languages.

    This is my site in 6 languages already, the only thing it least is the “read more” button

    http://www.mgmlanguageandleisure.com/pt/blog/

    thanks,

    Leandro

    #365862

    Towfiq I.

    administrator

    its because the theme is not translated to portuguese.. what plugin did you use to make your site multilingual?

    #366537

    Leandro

    Im using

    mqTranslate

    I just want to find the php with the “read more” text so I can change it
    like it already did in the contact form with this kind of lines:

    “[:en]Name*[:de]Name*[:nl]Naam*[:es]Nombre*[:pt]Nome*[:fr]Nom*”

    Is it possible to find the text and do it that way?

    Im running Asteria Pro 0.7
    (I dont want to update the theme ifs possible)

    thanks

    #371640

    Towfiq I.

    administrator

    open up functions.php and replace this:

    return '<br><a class="moretag" href="'. get_permalink($post->ID) . '">'.__('+ Read More', 'asteria').'</a>';

    with this:

    return '<br><a class="moretag" href="'. get_permalink($post->ID) . '">'.do_shortcode('[:en]Name*[:de]Name*[:nl]Naam*[:es]Nombre*[:pt]Nome*[:fr]Nom*').'</a>';

You must be logged in to reply to this topic.