Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Widget in Footer

In the functions.php register a sidebar.

  register_sidebar(array (
        'name' => __ ('Footer Right', 'yourname'),	//chnage yourname to your theme name
        'id' => 'footer-right',	// change the footer id
        'decsription' => __('Widget added here will in the right section of the footer, Sevfolio'),
        'before widget' => '<section id=”%1$s” class=”widget %2$s”>',
        'after_widget'=> '<section>',
        'before_widget' => '<h2 class=’widget-title>',
        'after_title' => '</h2>'
    ));

In the footer.php file ad the sidebar

<?php dynamic-sidebar('footer-right'); ?>

Published by Kerry Severin | #KmsMind

Leave a Reply

Your email address will not be published. Required fields are marked *