'ffffff',
'default-image' => '',
) ) );
}
endif;
add_action( 'after_setup_theme', 'abisteel_setup' );
function abisteel_content_width() {
$GLOBALS['content_width'] = apply_filters( 'abisteel_content_width', 640 );
}
add_action( 'after_setup_theme', 'abisteel_content_width', 0 );
function abisteel_widgets_init() {
register_sidebar( array(
'name' => esc_html__( 'Footer 1', 'abisteel' ),
'id' => 'sidebar-1',
'description' => esc_html__( 'Add widgets here.', 'abisteel' ),
'before_widget' => '',
'before_title' => '
',
) );
register_sidebar( array(
'name' => esc_html__( 'Footer 2', 'abisteel' ),
'id' => 'sidebar-2',
'description' => esc_html__( 'Add widgets here.', 'abisteel' ),
'before_widget' => '',
'before_title' => '',
) );
register_sidebar( array(
'name' => esc_html__( 'Footer 3', 'abisteel' ),
'id' => 'sidebar-3',
'description' => esc_html__( 'Add widgets here.', 'abisteel' ),
'before_widget' => '',
'before_title' => '',
) );
register_sidebar( array(
'name' => esc_html__( 'Footer 4', 'abisteel' ),
'id' => 'sidebar-4',
'description' => esc_html__( 'Add widgets here.', 'abisteel' ),
'before_widget' => '',
'before_title' => '',
) );
}
add_action( 'widgets_init', 'abisteel_widgets_init' );
function abisteel_scripts() {
wp_enqueue_style( 'bootstrap', get_template_directory_uri() . '/css/bootstrap.css', array( ), false, 'all' );
wp_enqueue_style( 'bootstrap', get_template_directory_uri() . '/css/bootstrap-theme.css', array( ), false, 'all' );
wp_enqueue_script('jquery');
wp_enqueue_script( 'bootstrap', get_template_directory_uri() . '/js/bootstrap.js', array( ), false, 'all' );
wp_enqueue_style( 'abisteel-style', get_stylesheet_uri() );
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
}
add_action( 'wp_enqueue_scripts', 'abisteel_scripts' );
require get_template_directory() . '/inc/template-tags.php';
add_action( 'wp_enqueue_scripts', 'abisteel_font_awesome' );
function abisteel_font_awesome() {
wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css' );
}