Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 5 posts - 1 through 5 (of 5 total)

Adding a second footer for Widgets

Home Forums Free Theme Support Zenon Lite Adding a second footer for Widgets

  • #23065

    Saharita

    Hi,

    Is it possible to add a second footer widget? as well, the right sidebar doesn’t show in home?

    Thank you for your help.

    #23140

    Towfiq I.

    administrator

    The right sidebar should not be on home. the theme was made this way.

    To add a second footer widget add this to your functions.php:

    register_sidebar(array(
    ‘name’ => __(‘Footer2 Widgets’, ‘zenon’),
    ‘id’ => ‘foot2_sidebar’,
    ‘description’ => __(‘Widget Area for the Footer’, ‘zenon’),
    ‘before_widget’ => ‘<li id="%1$s" class="widget %2$s"><div class="widget_wrap">‘,
    ‘after_widget’ => ‘</div>‘,
    ‘before_title’ => ‘<h3 class="widgettitle">‘,
    ‘after_title’ => ‘</h3>
    ));

    Right After this:

    register_sidebar(array(
    ‘name’ => __(‘Footer Widgets’, ‘zenon’),
    ‘id’ => ‘foot_sidebar’,
    ‘description’ => __(‘Widget Area for the Footer’, ‘zenon’),
    ‘before_widget’ => ‘<li id="%1$s" class="widget %2$s"><div class="widget_wrap">‘,
    ‘after_widget’ => ‘</div>‘,
    ‘before_title’ => ‘<h3 class="widgettitle">‘,
    ‘after_title’ => ‘</h3>
    ));

    And this to your footer.php:`

    `

    before this:

    <!--COPYRIGHT TEXT-->

    #40190

    fOOt

    Where do you have to add this code within the functions.php and footer.php?

    #40279

    Towfiq I.

    administrator

    foot please read the previous post again, you will see that I already mentioned where to add the code. 🙂

    #612558

    Clever Ray

    after I paste it to the child-theme it won’t work
    just copy and paste it right?

The topic ‘Adding a second footer for Widgets’ is closed to new replies.