WordPress.org

Ready to get started?Download WordPress

Forums

Stella plugin
the_content( $label_readmore ) not working (2 posts)

  1. luistinygod
    Member
    Posted 1 year ago #

    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/

  2. luistinygod
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic