| Server IP : 103.88.176.108 / Your IP : 216.73.216.211 Web Server : Apache/2.4.41 (Ubuntu) System : Linux webserver 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/wp-content/themes/neve/ |
Upload File : |
<?php
/**
* Start file handles bootstrap.
*
* @package Neve
*/
/**
* Run theme functionality
*/
function neve_run() {
define(
'NEVE_COMPATIBILITY_FEATURES',
[
'single_customizer' => true,
'repeater_control' => true,
'malformed_div_on_shop' => true,
'custom_post_types_enh' => true,
'mega_menu' => true,
'scroll_to_top_icons' => true,
'palette_logo' => true,
'custom_icon' => true,
'link_control' => true,
'page_header_support' => true,
'featured_post' => true,
'php81_react_ctrls_fix' => true,
'gradient_picker' => true,
'custom_post_types_sidebar' => true,
'meta_custom_fields' => true,
'sparks' => true,
'advanced_search_component' => true,
'submenu_style' => true,
'blog_hover_effects' => true,
'hfg_d_search_iconbutton' => true, // Dynamic icon selection or a button for search components
'restrict_content' => true,
'theme_dedicated_menu' => true, // Theme uses the new menu location for settings and sub-pages.
'track' => true, // Track theme usage.
'menu_icon_svg' => true,
'custom_payment_icons' => true,
'nested_ordering_control' => true,
'component_style_filter' => true, // @see Abstract_Component->add_style() method.
]
);
$vendor_file = trailingslashit( get_template_directory() ) . 'vendor/autoload.php';
if ( is_readable( $vendor_file ) ) {
require_once $vendor_file;
}
require_once 'autoloader.php';
$autoloader = new \Neve\Autoloader();
$autoloader->add_namespace( 'Neve', get_template_directory() . '/inc/' );
if ( defined( 'NEVE_PRO_SPL_ROOT' ) ) {
$autoloader->add_namespace( 'Neve_Pro', NEVE_PRO_SPL_ROOT );
}
$autoloader->register();
if ( class_exists( '\\Neve\\Core\\Core_Loader' ) ) {
new \Neve\Core\Core_Loader();
}
if ( class_exists( '\\Neve_Pro\\Core\\Loader' ) ) {
/**
* Legacy code, compatibility with old pro version.
*/
if ( is_file( NEVE_PRO_SPL_ROOT . 'modules/header_footer_grid/components/Yoast_Breadcrumbs.php' ) ) {
require_once NEVE_PRO_SPL_ROOT . 'modules/header_footer_grid/components/Yoast_Breadcrumbs.php';
}
if ( is_file( NEVE_PRO_SPL_ROOT . 'modules/header_footer_grid/components/Language_Switcher.php' ) ) {
require_once NEVE_PRO_SPL_ROOT . 'modules/header_footer_grid/components/Language_Switcher.php';
}
\Neve_Pro\Core\Loader::instance();
}
}
neve_run();