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

Reply To: [Waiting for user confirmation] Missing sidewide sections on Toolset Bootstrap

$
0
0

Hi Emerson, thanks, that's a really to the point explenation. I will also do some study on the links you provided.

I think I'm getting to the end of changing the Toolset Bootstrap HTML to how I want it to be.
This is my problem, I have multiple widgets in the different sidebars, let's say the footer widgets. I want to change the before_widget and after_widget for each specific widget.

I found this in functions.php for all three widget area's:

function wpbootstrap_register_footer_widgets() {

        $widget_class = 'span4';

        if (wpbootstrap_get_setting('general_settings', 'display_footer_widgets')) {

            $widget_class = 'span' . intval(of_get_option('footer_widget_width'));

        }

        register_sidebar(array(

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

            'id' => 'footer-widgets',

            'description' => __('Appears above the footer', '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>',

        ));

    }

That's exactly what I need, but then I want to assign that to specific widgets. I did look in Google and found this http://wordpress.stackexchange.com/questions/36844/changing-before-widget-for-certain-widgets, but like I told before I just don't understand all the PHP. Can you help me?

Kind regards,

Willem


Viewing all articles
Browse latest Browse all 20145

Trending Articles