/**
 * Build post inner pagination
 *
 * @see wp_link_pages()
 */
function get_the_link_pages()
{
    basicbootstrap_load_class('WP_Basic_Bootstrap_Pagination');
    $paginator = new WP_Basic_Bootstrap_Pagination();
    $entries = $paginator->renderPostPages();
    if (count($entries)) {
        get_template_part_hierarchical_fetch('partials/pagination/' . $paginator->type, '', $entries);
    }
}
<?php

/**
 * @package WP_Basic_Bootstrap
 * @since WP_Basic_Bootstrap 1.0
 */
// the required abstract parent
basicbootstrap_load_class('WP_Basic_Bootstrap_Customizer_Abstract');
/**
 * Class WP_Basic_Bootstrap_Customizer
 *
 * Defines the settings of the theme for the customizer admin panel.
 * Generates related CSS rules for the header.
 *
 * @link http://codex.wordpress.org/Theme_Customization_API
 * @since WP_Basic_Bootstrap 1.0
 */
class WP_Basic_Bootstrap_Customizer extends WP_Basic_Bootstrap_Customizer_Abstract
{
    /**
     * @var array
     * @since WP_Basic_Bootstrap 1.0
     */
    protected $defaults;
    /**
     * This hooks into 'customize_register' (available as of WP 3.4) and allows
     * you to add new sections and controls to the Theme Customize screen.
     *
     * Note: To enable instant preview, we have to actually write a bit of custom
     * javascript. See live_preview() for more.
     *
 /**
  * Register widgetized areas, including main sidebar and three widget-ready columns in the footer.
  *
  * @uses register_sidebar()
  */
 public static function widgetsInit()
 {
     // register sidebars
     foreach (basicbootstrap_get_config('sidebars') as $sidebar) {
         foreach (array('name', 'description') as $item) {
             if (isset($sidebar[$item])) {
                 $sidebar[$item] = __($sidebar[$item], 'basicbootstrap');
             }
         }
         register_sidebar($sidebar);
     }
     // replace the recent_posts widget
     unregister_widget('WP_Widget_Recent_Posts');
     basicbootstrap_load_class('WP_Basic_Bootstrap_Widget_Recent_Posts');
     register_widget('WP_Basic_Bootstrap_Widget_Recent_Posts');
     // replace the recent_comments widget
     unregister_widget('WP_Widget_Recent_Comments');
     basicbootstrap_load_class('WP_Basic_Bootstrap_Widget_Recent_Comments');
     register_widget('WP_Basic_Bootstrap_Widget_Recent_Comments');
     // replace the archives widget
     unregister_widget('WP_Widget_Archives');
     basicbootstrap_load_class('WP_Basic_Bootstrap_Widget_Archives');
     register_widget('WP_Basic_Bootstrap_Widget_Archives');
     // new author block widget
     basicbootstrap_load_class('WP_Basic_Bootstrap_Widget_Author_Block');
     register_widget('WP_Basic_Bootstrap_Widget_Author_Block');
     // adapt dropdowns
     add_filter('widget_categories_dropdown_args', function ($args) {
         if (!isset($args['class'])) {
             $args['class'] = '';
         }
         $args['class'] .= ' form-control';
         return $args;
     });
     add_filter('widget_archives_dropdown_args', function ($args) {
         if (!isset($args['class'])) {
             $args['class'] = '';
         }
         $args['class'] .= ' form-control';
         return $args;
     });
 }