__( 'Primary Menu', 'accesspresslite' ), ) ); // Enable support for Post Formats. //add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link' ) ); // Setup the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'accesspresslite_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); } endif; // accesspresslite_setup add_action( 'after_setup_theme', 'accesspresslite_setup' ); /** * Implement the Theme Option feature. */ require get_template_directory() . '/inc/custom-header.php'; /** * Implement the Theme Option feature. */ require get_template_directory() . '/inc/admin-panel/theme-options.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'; /** * Load Jetpack compatibility file. */ require get_template_directory() . '/inc/jetpack.php'; /** * Implement the custom metabox feature */ require get_template_directory() . '/inc/custom-metabox.php'; add_filter( 'http_request_timeout', 'mytheme_bump_request_timeout', 100 ); function mytheme_bump_request_timeout(){ return 300; //Change this to your desired timeout value in ms }