Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function theme-naam_widgets_init() {
- register_sidebar( array(
- 'name' => __( 'New Widget', 'theme-naam' ),
- 'id' => 'new-widget',
- 'description' => __( 'Dit is de nieuwe widget positie', 'theme-naam' ),
- 'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
- 'after_widget' => '</li>',
- 'before_title' => '<h3 class="widget-title">',
- 'after_title' => '</h3>',
- ) );
- }
- add_action( 'widgets_init', 'theme-naam_widgets_init' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement