the_content( $label_readmore ) not working
-
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
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘the_content( $label_readmore ) not working’ is closed to new replies.