• Hi,

    I’m trying to translate the ‘(more…)’ introduced by default when using the cut-off tag <!–more–> for the post to be excerpted.

    So I’m declaring before the loop
    $label_readmore = apply_filters( 'label_readmore', '... (read more)' );

    During loop:
    <?php the_content($label_readmore); ?>

    And in functions,
    stella_translate_string( 'label_readmore', '... (read more)', array( 'en'=>'... (read more)', 'pt'=>'... (ler mais)') );

    Unfortunately, it doesn’t work for the non-default language..

    Do you have any solution?

    Thanks

    http://wordpress.org/extend/plugins/stella-free/

Viewing 1 replies (of 1 total)
  • Thread Starter Luis Godinho

    (@luistinygod)

    To add more information, even using the regular:

    <?php the_content('read more'); ?>

    I got the default ‘(more…)’ instead of ‘read more’ in the non-default language…

Viewing 1 replies (of 1 total)
  • The topic ‘the_content( $label_readmore ) not working’ is closed to new replies.