简体   繁体   中英

Enfold 4.7.6 Wordpress Theme - Slide-Show (full-width) contains a semicolon "

After updating Wordpress to version 5.4.2–de_DE, the plugins and the Enfold-Theme to version 4.7.6, the 'Slide-Show (full-width)' contains a semicolon at the end of the Media Element and the pagniation-buttons are not fully shown, on the frontpage.

so long, Tönjes Peters aka thoenix

First i thought about a common WordPress Problem, but not all Websites, wich i administrate, has got this error. Only websites where the Enfold-Theme is used. After checking all settings, my suggestion was that the error must be found in the source-code. After using grep in the server-terminal and checking several scripts i think i found the little 'bastard' in av-helper-slideshow.php . One pair of semicolons "" is wrong set in line 724.

#vi wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php

in line 724

change

$html .= '</' . $tags[1]. ' ">"';

to

$html .= '</' . $tags[1]. ' >';

I hope this will solve the problem.

so long, Tönjes Peters aka thoenix

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM