Twitter Bootstrap 4 WordPress Starter Theme for Developers

Theme File: sidebar-left.php

Name: sidebar-left.php

Path: devdmbootstrap4/template-parts/sidebar-left.php


Template part containing the left side bar widget area. We are using the sizes set in the customizer to determine whether or not we render this at all. If we are rendering the left side bar, we apply the calculated column size from the devdmbootstrap_column_size(‘left/right’) function defined in functions.php.

    $leftSidebarSize = devdmbootstrap_column_size('left');
    if ($leftSidebarSize != 0) :

    <div class="col-md-<?php echo esc_attr($leftSidebarSize); ?> dmbs-left">
        <?php dynamic_sidebar( 'dmbs-left-sidebar' ); ?>

<?php endif; ?>
  • Dev Updates?

    Follow DevDmBootstrap4 Theme development with email updates.

  • Recent Posts

  • Recent Comments

  • Archives

  • Categories

  • Meta