-
AuthorPosts
-
July 19, 2014 at 8:19 pm #293451
Hello
I always hadremove_filter('the_title', 'wptexturize');
to my child function.php but i still get HTML characters.
For instance : http://www.domodeco.fr/interieur/cuisine/composez-univers-cuisines-creations.html
Try to click Twitter or Email and you will get this title:
Composez votre univers avec Cuisines & # 0 3 8 ; Créations
it should be
Composez votre univers avec Cuisines & créationsthank you
July 20, 2014 at 7:30 am #293543Hi!
Try:
function rm_texturize_func() { remove_filter('the_title', 'wptexturize', 1000); } add_action( 'init', 'rm_texturize_func');
Cheers!
JosueJuly 20, 2014 at 9:52 am #293579Hi @Josue
Sorry but it do nothing…
I give you another URL with more special french special characters: http://www.domodeco.fr/non-classe/articles-test-newsletter.html
The title of the post is: Bonjour c’est l’été…
The sharing give : Bonjour c & r s q u o ;est l & r s q u o ; été& # 8 2 3 0 ;> I try to add your fix both a the top or bottom of my function.php
thanks
- This reply was modified 10 years, 5 months ago by pako69.
July 20, 2014 at 12:06 pm #293597Hey!
Enfold doesn’t convert “Bonjour c’est l’été” to “Bonjour c & r s q u o ;est l & r s q u o ; été& # 8 2 3 0 ;” by default. I think something else (custom code or a plugin) converts these characters. I did a quick test on my demo server (unmodified 2.9.2 version) and the share buttons work just fine with “Bonjour c’est l’été…”: http://test.inoplugs.com/bonjour-cest-lete/?lang=en
If you want to modify the title output search for this line in wp-content/themes/enfold/includes/helper-social-media.php
$replace['title'] = !isset($this->post_data['title']) ? get_the_title() : $this->post_data['title'];
and modify replace get_the_title() with your title code.
Best regards,
PeterJuly 20, 2014 at 12:38 pm #293604Hello Dude
You are right, I tried on another fresh Enfold site and it works.2.9.2 version? I only know 2.9.1… It’s new?
July 20, 2014 at 3:10 pm #293618Hi!
Maybe – tbh I don’t know if Kriesi released the 2.9.2 version on themeforest.net or maybe it’s a developer build only and Kriesi wants to wait some days until he releases the 2.9.2 version.
Best regards,
Peter -
AuthorPosts
- You must be logged in to reply to this topic.