Duplicated ‘before_widget’ div
-
Maybe it is a wordpress issue, dunno for real:
I use this to create a custom widgetregister_sidebar(array( 'name' => "Home", 'id' => 'home', 'description' => "Sidebar Home", 'before_widget' => '<div class="content-widget test">', 'after_widget' => '</div>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>' ));
But when checking html i got twice (repeated) the widget div wrapper like this:
<div class="content-widget test"> <div class="content-widget test"> ...The sidebar content...
I have used this for years with no problem Now I just figured out this. … it is a wordpress last version issue?
- This topic was modified 6 years, 2 months ago by .
- This topic was modified 6 years, 2 months ago by .
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Duplicated ‘before_widget’ div’ is closed to new replies.