芝麻web文件管理V1.00
编辑当前文件:/var/www/globaleconomytv.it/wp-content/themes/vlog/functions.php
$size ) { add_image_size( $id, $size['args']['w'], $size['args']['h'], $size['args']['crop'] ); } } /* Add post formats support */ add_theme_support( 'post-formats', array( 'audio', 'gallery', 'image', 'video' ) ); /* Support for HTML5 */ add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form', 'gallery', 'caption' ) ); /* Automatic Feed Links */ add_theme_support( 'automatic-feed-links' ); /* Declare WooCpommerce support */ add_theme_support( 'woocommerce' ); add_theme_support( 'wc-product-gallery-zoom' ); add_theme_support( 'wc-product-gallery-lightbox' ); add_theme_support( 'wc-product-gallery-slider' ); /* Load editor styles */ add_theme_support( 'editor-styles' ); /* Support for alignwide elements */ add_theme_support( 'align-wide' ); /* Support for predefined colors in editor */ add_theme_support( 'editor-color-palette', vlog_get_editor_colors() ); /* Support for predefined font-sizes in editor */ add_theme_support( 'editor-font-sizes', vlog_get_editor_font_sizes() ); // load admin styles if ( is_admin() ) { vlog_load_editor_styles(); } // Remove 5.8 widget block editor remove_theme_support( 'widgets-block-editor' ); } /* Helpers and utility functions */ include_once get_parent_theme_file_path( '/core/helpers.php' ); /* Default options */ include_once get_parent_theme_file_path( '/core/default-options.php' ); /* Load frontend scripts */ include_once get_parent_theme_file_path( '/core/enqueue.php' ); /* Module-specific functions */ include_once get_parent_theme_file_path( '/core/modules.php' ); /* Template functions */ include_once get_parent_theme_file_path( '/core/template-functions.php' ); /* Menus */ include_once get_parent_theme_file_path( '/core/menus.php' ); /* Sidebars */ include_once get_parent_theme_file_path( '/core/sidebars.php' ); /* Extensions (hooks and filters to add/modify specific features ) */ include_once get_parent_theme_file_path( '/core/extensions.php' ); /* Add support for our mega menu */ include_once get_parent_theme_file_path( '/core/mega-menu.php' ); if ( is_admin() ) { /* Admin helpers and utility functions */ include_once get_parent_theme_file_path( '/core/admin/helpers.php' ); /* Load admin scripts */ include_once get_parent_theme_file_path( '/core/admin/enqueue.php' ); /* Theme Options */ include_once get_parent_theme_file_path( '/core/admin/options.php' ); /* Include plugins - TGM Init */ include_once get_parent_theme_file_path( '/core/admin/plugins.php' ); /* Include AJAX action handlers */ include_once get_parent_theme_file_path( '/core/admin/ajax.php' ); /* Extensions ( hooks and filters to add/modify specific features ) */ include_once get_parent_theme_file_path( '/core/admin/extensions.php' ); /* Custom metaboxes */ include_once get_parent_theme_file_path( '/core/admin/metaboxes.php' ); /* Demo importer panel */ include_once get_parent_theme_file_path( '/core/admin/demo-importer.php' ); } ?>