Jump to content

Search the Community

Showing results for tags 'apostrophe'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 1 result

  1. Hello everyone, I would like to translate the "Load More Posts" Postpin section button into French with the following words: "Afficher plus d'articles". I identify the PHP file to edit (...wp-content/plugins/pagelines-sections/pagelines-postpins/section.php) and the two lines I have to modify: jQuery('.fetchpins a').removeClass('loading').text('<?php _e('Load More Posts', 'pagelines');?>'); $next_url = sprintf('<div class="%s fetchlink" %s><a class="btn" href="%s">%s</a></div>', $class, $display, $u, __('Load More Posts', 'pagelines')); The problem is there is an apostrophe in "Afficher plus d'articles" and of course I need to convert this apostrophe into text. Then I try to insert a backslash just before the apostrophe like this: "Afficher plus d'articles". That way the button displays the French words I want but the Postpin section doesn't work anymore. For sure I miss something. Any help please?
×