Cannot ajaxify on this sidebar. It’s missing the id attribute on before_widget
-
I’m using Hemingway (version 1.75) for quite some time, and one plugin started to complain about a missing id attribute no before_widget:
Error: cannot ajaxify WordPress Popular Posts on this sidebar.
It’s missing the id attribute on before_widget (see
register_sidebar for more).I fixed this in hemingway/functions.php on lines 161, 170, 181, 191
- 'before_widget' => '<div class="widget %2$s"><div class="widget-content">', + 'before_widget' => '<div id="%1$s" class="widget %2$s"><div class="widget-content">',
https://developer.www.ads-software.com/reference/functions/register_sidebar/
HTH ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Cannot ajaxify on this sidebar. It’s missing the id attribute on before_widget’ is closed to new replies.