-
AuthorPosts
-
December 13, 2019 at 5:43 pm #1165589
data-av_icon=”” usually displayed in the DOM of a shared-buttons is broken. Therefore the icon( via :before) will not show up. All other Icons dipay nice – just icons of the share buttons will not displayed.
What I have already tried to solve this problem:
– Put this code snippet in .htaccess:<FilesMatch ".(ttf|otf|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>
– disabled the child theme
– disabled all pluginsHere you can see the failure: https://www.eisexpeditionen.de/test/
December 13, 2019 at 6:23 pm #1165598I found the cause and (temporary) solution to this problem (already posted in thread https://kriesi.at/support/topic/social-buttons-broken-with-wp-5-3-1-update/)
Changes made to the file ‘formatting.php’ in ‘wp-includes’ of the new WP 5.3.1 version are the cause.
I compared this file via diffchecker.com to the previous WP version and saw some differences to the bits concerning how links with ‘target’ and ‘rel’ should be rewritten. On the left is the new version, on the right the old one: https://www.diffchecker.com/6VKr6jb4Look for the changes starting on line 3149. The code in red (on the left) should be replaced with the code in green (on the right). Last line that should be changed is 3222. There are more changes in red starting on line 4903 but don’t touch these or your site will break!
After I made these changes, the social media icons magically reappeared after reloading.
Naturally this should be addressed in the next Enfold update, but for now this fix works (for me).December 15, 2019 at 5:34 am #1165996Hi frankeee,
Sorry for the problem. We’re working on a release which will fix this problem, it should be available for download by tomorrow. Until then please try to use the temporary fix posted by @jvingerhoets. Thanks for sharing :-)
Best regards,
RikardDecember 16, 2019 at 10:49 am #1166296Hi Rikard, thanks a lot for answering!
Wher can I download the update? On Themeforest I can only download version 4.6.3December 16, 2019 at 11:32 am #1166313Hi,
This is due to a file change in WordPress v5.3.1, the dev team has released this fix for the missing icons, please upload the following file via FTP to
\enfold\framework\php\function-set-avia-frontend.php
https://www.dropbox.com/s/gmbg5202rjz1vou/function-set-avia-frontend.php?dl=0
Please save a copy of your old file should you encounter an upload error.
Then clear your browser cache and any cache plugin, and check.
This file will be added to the next update also, but for now please use this patch.Best regards,
MikeDecember 17, 2019 at 3:59 pm #1166872YES – that´s it!
Thank´s so much!December 17, 2019 at 4:14 pm #1166879Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘data-av_icon broken’ is closed to new replies.