Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I encountered the same problem and edited wp-includes/widgets.php line 141 from
    $defaults = array(
    ‘name’ => sprintf(__(‘Sidebar %d’), $i ),
    ‘id’ => “sidebar-$i”,
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => “\n”,
    ‘before_title’ => ‘<h2>’,
    ‘after_title’ => “</h2>\n”,
    );

    to

    $defaults = array(
    ‘name’ => sprintf(__(‘Sidebar %d’), $i ),
    ‘id’ => “sidebar-$i”,
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => “\n”,
    ‘before_title’ => ‘<h4>’,
    ‘after_title’ => “</h4>\n”,
    );

    Thread Starter mapleblack

    (@mapleblack)

    Thank you very much, works like a charm!

    WordPress loop looks beautiful.

Viewing 2 replies - 1 through 2 (of 2 total)