tag in the document head, and expect WordPress to * provide it for us. */ add_theme_support( 'title-tag' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails */ add_theme_support( 'post-thumbnails' ); add_image_size( 'event-thumbnail', 135, 100, true); //Latest News Events Small Image add_image_size( 'featured-thumbnail', 350, 245, true); //Featured Image add_image_size( 'portfolio-thumbnail', 400, 450, true); //Portfolio Image add_image_size('template_two_event_home',273,235,true); // This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'primary' => __( 'Primary Menu', 'accesspress-lite' ), ) ); // Enable support for Post Formats. // Setup the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'accesspresslite_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); // Add support for Block Styles. add_theme_support( 'wp-block-styles' ); // Add support for full and wide align images. add_theme_support( 'align-wide' ); // Add support for responsive embedded content. add_theme_support( 'responsive-embeds' ); } endif; // accesspresslite_setup add_action( 'after_setup_theme', 'accesspresslite_setup' ); /** * Implement the Theme Option feature. */ require get_template_directory() . '/inc/custom-header.php'; /** * 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'; /** * Implement the Customizer options */ require get_template_directory() . '/inc/customizer.php'; /** * Load Jetpack compatibility file. */ require get_template_directory() . '/inc/jetpack.php'; /** * Implement the custom metabox feature */ require get_template_directory() . '/inc/custom-metabox.php'; /** * Woocommerce Hooks */ require get_template_directory() . '/inc/ap-lite-woocommerce-function.php'; add_filter('widget_text', 'do_shortcode'); /** * Add Dynamic Styles */ require get_template_directory() . '/css/style.php'; /** * Add Welcome Page to the theme */ require get_template_directory() . '/inc/welcome/welcome-config.php';