Custom Widget in WordPress, Copy this Code And Past in Function.php File Thane create admin side widget
php
<?php
register_sidebar( array(
'name' => __('Your Widget Name', 'twentytwelve' ), //set your widget name
'id' => 'widget id',
'description' => __( 'Appears on posts and pages except the optional Front Page template, which has its own widgets', 'twentytwelve' ),
'before_widget' => '',
'after_widget' => '',
'before_title' => '', ) );
?>Share this playbook
