Moving "more-link" button to the left of posts
-
Actually this button (“En savoir plus” in french) is on bottom right of each post.
For better reading how can i :
– put it on the left
– change the text : for example “Lire la suite” with title of the post
My blog : http://julien.coillard.fr
Admin
Try adding this to the theme’s Custom CSS option:
.more-link .block-button {
float: left;
}Quote:For changing the text to “Lire la suite” and post title did i need to use a function.php ?Yes, you have to use a child-theme for that. But there are other ways as well.
Solved with Prasanna solution, my problem was in finding the string to change (found it in languages/fr_FR.po)
<?php
function graphene_filter_gettext( $translated, $original, $domain ) {
$strings = array(
'Read the rest of this entry »' => 'Lire la suite de ' . get_the_title('', '', false) . '/»',
);
if ( ! empty( $strings[$original] ) ) {
$translations = &get_translations_for_domain( $domain );
$translated = $translations->translate( $strings[$original] );
}
return $translated;
}
add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );
?>Works fine now, thanks to all – http://julien.coillard.fr/
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.