Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello @klecka !

    I hope you are doing well today!

    I checked your code and it’s looks like you wrote it in a wrong syntax.

    Please note that:
    'before-widget' & 'after-widget' Must Written with UNDERSCORE (_).
    'before_widget' & 'after_widget'

    This is the default WP Sidebar registration

    <?php $args = array(
    	'name'          => __('Sidebar %d'),
            'id'            => 'sidebar',          
    	'description'   => '',
    	'class'         => '',
    	'before_widget' => '<li id="%1$s" class="widget %2$s">',
    	'after_widget'  => '</li>',
    	'before_title'  => '<h2 class="widgettitle">',
    	'after_title'   => '</h2>' ); 
    ?>

    Best Regards,
    Youssef

Viewing 1 replies (of 1 total)