Hello,
The read more button is not localized when displayed in slider
I found it here
File :[THEME]/lib/functions/sliders.php
Lines : 217 and 368
if( ( !empty( $link_url ) ) && ( empty( $disable_read_more ) ) ) $out .= '<p><a href="' . $link_url . '"><span>Read More</span></a></p>';
Yet I've been able to add these two functions in my own functions.php child theme
- function mysite_scrolling( $slider_type, $slider )
- function mysite_fading( $slider_type, $slider )
But put these two functions in a child theme just to be able to localize the "read more" button is a little lot too much. No ?
So if you could change these 2 functions to use gettext function and set these read more in the pot file it'd be really great :)
Just a little change
$out .= '<p><a href="' __( 'Read More', MYSITE_TEXTDOMAIN ) . '"><span>Read More</span></a></p>';
and an update of the pot file
Thanks by advance
Pascal













