Create a widget in your custom theme. To add widgets in the dashboard, register sidebar function in the page functions.php.
function arphabet_widgets_init(){
register_sidebar( array(
‘name’ => ‘Footer Sidebar 1’,
‘id’ => ‘footer-sidebar-1’,
‘description’ => ‘Appears in the footer area’,
‘before_widget’ => ”, ‘after_widget’ => ”,
‘before_title’ => ‘
‘, ‘after_title’ => ”,
) );
…….
…..
…
}
add_action(‘widgets_init’,’arphabet_widgets_init’);
This will give a widget in the dashboard. In order to have multiple sidebars, give different id each time you add widgets.

The next step is to make it visible the customizations that we are doing in the WordPress webpage. For making them visible add a PHP code in the footer.php
<div id=”footer-sidebar1″>
<?php if(is_active_sidebar(‘footer-sidebar-1’)){
dynamic_sidebar(‘footer-sidebar-1’);
}?>
</div>
This will display the footer widgets in our template.
Inorder to add link to the footer widget,
Select ‘paragraph’ from the options and add required name. Select the name given and choose the ‘link’ option that appears on the top. Give the appropriate URL. Save the updates.

The footer widget appears in the created template as:
