DevDmBootstrap4

Twitter Bootstrap 4 WordPress Starter Theme for Developers

Theme File: sidebar-right.php

Name: sidebar-right.php

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

Source: https://github.com/dannymachal/devdmbootstrap4/blob/master/template-parts/sidebar-right.php

Template part containing the right 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 right side bar, we apply the calculated column size from the devdmbootstrap_column_size(‘right/left’) function defined in functions.php.

<?php
    $rightSidebarSize = devdmbootstrap_column_size('right');
    if ($rightSidebarSize != 0) :
?>

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

<?php endif; ?>
  • Dev Updates?

    Follow DevDmBootstrap4 Theme development with email updates.

  • Recent Posts

  • Recent Comments

  • Archives

  • Categories

  • Meta