Forum Replies Created
-
-
9 years ago in reply to: Custom post type title contains html span tag
Yes for OG and Twitter Card tags only, the meta title tag is fine.
And yes the snippet fixed the problem, thanks !9 years ago in reply to: Custom post type title contains html span tagHi there,
would be great if the fix could be added to the plugin, I’m losing the fix each time the plugin is updated.
Thanks !
9 years ago in reply to: Custom post type title contains html span tagHi Martin,
just updated the plugin with 1.6.28 and the problem reappeared, has the fix been added in that last version?
Thanks!Hi Martin,
same kind of issue with the Open Graph and twitter cards tags :
<meta property=”og:title” content=”<span itemprop="name">Conférence Neale Walsch – Vivre avec son coeur</span>” />
<meta name=”twitter:title” content=”<span itemprop="name">Conférence Neale Walsch – Vivre avec son coeur</span>” />It’s generated on line 3671 in fv-all-in-one-seo-pack.php.
I’ve fixed that by adding : strip_tags(html_entity_decode($title));
It seems very un-elegant but it works, there is probably a better way !Let me know if you need me to try with another solution.
Thanks,
JPHi Martin,
yes that fixes the issue!
http://www.conversations-avec-dieu.fr/downloads/conference-etre-vraiment-present/Thank you very much!
JPHi Martin,
thanks for coming back to me on this.
I did a quick grep on my plugins on “itemprop” and there is only “Easy Digital Downloads” returning results for that search.
This result seems relevant:
easy-digital-downloads/includes/template-functions.php:720: $title = ‘<span itemprop=”name”>’ . $title . ‘</span>’;But the thing is that if I disable the FV Simpler SEO plugin, the title tag will be properly set. So I suspect the problem is more coming from FV Simpler SEO than Easy Digital Download. Am I wrong somewhere ?
Thanks for your help!
JP