'ffffff', 'default-image' => '', ) ) ); /* * Let WordPress manage the document title. */ add_theme_support( 'title-tag' ); add_theme_support( 'custom-header' ); //Add selective refresh for sidebar widget add_theme_support( 'customize-selective-refresh-widgets' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ */ add_theme_support( 'post-thumbnails' ); // This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'primary_menu' => esc_html__( 'Primary Menu', 'profisme' ), ) ); /* * 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', ) ); /* * Custom logo. */ add_theme_support('custom-logo'); /* * This theme styles the visual editor to resemble the theme style, * specifically font, colors, icons, and column width. */ add_editor_style( array( 'assets/css/editor-style.css', profisme_google_font() ) ); } endif; add_action( 'after_setup_theme', 'profisme_setup' ); // Set content-width. function profisme_content_width() { $GLOBALS['content_width'] = apply_filters( 'profisme_content_width', 1170 ); } add_action( 'after_setup_theme', 'profisme_content_width', 0 ); /** * Enque Scripts/CSS */ require_once get_template_directory() . '/inc/scripts.php'; /** * Breadcrumb Settings */ require_once get_template_directory() . '/inc/breadcrumb/breadcrumb.php'; /** * Sidebar Calling */ require_once get_template_directory() . '/inc/sidebar/sidebar.php'; /** * Custom tags definations */ require_once get_template_directory() . '/inc/template-tags.php'; /** * Custom functions */ require_once get_template_directory() . '/inc/custom-function.php'; /** * Load Custom toggle Control in Customizer */ require_once get_template_directory() . '/inc/custom-controls/toggle/class-customizer-toggle-control.php'; /** * Customizer additions. */ require_once get_template_directory() . '/inc/customizer.php'; /** * Load Sanitization file. */ require_once get_template_directory() . '/inc/sanitization.php'; require( get_template_directory() . '/inc/customize/profisme-blog.php'); require( get_template_directory() . '/inc/customize/profisme-breadcrumb.php'); require( get_template_directory() . '/inc/customize/profisme-footer.php');