Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: [Assigned] Missing sidewide sections on Toolset Bootstrap

$
0
0

Hi Emerson,

Besides the previous post some other issues. But first, I managed to do something myself WITHOUT errors :-) .
I registered a new sidebar :-) . I can't manage it from the backend in WordPress (theme options), but at this moment, that don't bother me.

However, what I do wonder, how to achieve the following. I want one widget in the new sidebar to have a span3, and the other a span9. Now I use this code in my functions.php but don't now how to achieve my question.

function wpbootstrap_register_footer_copyright_widgets() {

        $widget_class = 'span12';

    //    if (wpbootstrap_get_setting('general_settings', 'display_header_widgets')) {

      //      $widget_class = 'span' . intval(of_get_option('header_widget_width'));

       // }

        register_sidebar(array(

            'name' => __('Footer copyright widgets area', 'wpbootstrap'),

            'id' => 'footer-copyright-widgets',

            'description' => __('Appears above the header', 'wpbootstrap'),

            'before_widget' => '<div id="%1$s" class="' . $widget_class . ' widget %2$s">',

            'after_widget' => '</div>',

            'before_title' => '<h3 class="widget-title">',

            'after_title' => '</h3>',

        ));

    }

If you want to see the sidebar live you can see it on caesarsbeauty [dot] nl.

Kind regards,

Willem


Viewing all articles
Browse latest Browse all 20145

Trending Articles