-
AuthorPosts
-
November 19, 2015 at 2:01 pm #538966
Hi
We regularly see an issue where a table withing a toggle displays incorrectly …
http://screencast.com/t/rqAqDHUiE
And it stops being fully responsive.
If we go into the product and literally Update the product without touching anything, it fixes the issue.
They just break randomly.
If you look here, it is currently broken …
It is very irritating as you can fix it one day and it will have stopped working the next.
November 23, 2015 at 12:19 pm #540680Hey!
I’m not seeing the same as your screenshot, did you already fix it?
Regards,
JosueNovember 23, 2015 at 6:30 pm #541096Hi no there is still an issue if you go to http://dev2.electrixinternational.com/product/15-degree-sloping-roof-enclosure-with-scame-interlocked-switch-and-socket/ you can see where it isnt working.
If i go into the product and save it, it will be fixed – but this cant be a solution as they keep randomly breaking.
November 24, 2015 at 10:58 am #541457Hi,
Can you please hand me a WordPress administrator account?
Regards,
JosueNovember 24, 2015 at 11:01 am #541460Details below
Please allow 15 minutes
November 24, 2015 at 12:41 pm #541520You should now have access.
November 24, 2015 at 10:35 pm #541999Hi!
The issue here is the same as in the Table hyphens, seems your server really likes to convert characters or symbols to HTML entities which messes up with the shortcode execution, i’ve now added a filter to the product description that should prevent this from happening:
function filter_short_description($excerpt) { $new_excerpt = preg_replace_callback("/(&#[0-9]+;)/", function($m) { return mb_convert_encoding($m[1], "UTF-8", "HTML-ENTITIES"); }, $excerpt); return $new_excerpt; } add_filter('woocommerce_short_description', 'filter_short_description');
Regards,
JosueNovember 25, 2015 at 9:25 am #542218Hi Josue
Thanks I will test it shortly.
Can I ask where you put the code for future reference?
What information can I pass on to your hosts?
November 25, 2015 at 10:10 am #542232It’s on your child theme functions.php.
I’m not sure what can you ask to your hosts, the culprit could actually be on WordPress level, maybe a plugin, something is converting characters like ” to ' (in the Post excerpt / Product short description).
Best regards,
Josue- This reply was modified 8 years, 12 months ago by Josue.
-
AuthorPosts
- You must be logged in to reply to this topic.