/home/techb158/l2hypotheques.com/wp-content/themes/pylon/inc
NameSizeModeActions
header/-0755rm
merlin/-0755rm
metabox-and-options/-0755rm
plugins/-0755rm
class-tgm-plugin-activation.php1228780644editdlrm
comment-template.php25700644editdlrm
comments-list.php24610644editdlrm
css-and-js.php79070644editdlrm
custom-header.php19520644editdlrm
customizer.php17890644editdlrm
demo-wizard.php61430644editdlrm
footer-widget.php27360644editdlrm
inline-style.php132630644editdlrm
merlin-config.php22000644editdlrm
mobile-menu.php00644editdlrm
nav-menu-walker.php12640644editdlrm
plugins-activation.php31080644editdlrm
template-functions.php39090644editdlrm
template-tags.php37130644editdlrm
widget-area-init.php36690644editdlrm
woocommerce.php102470644editdlrm
Edit: /home/techb158/l2hypotheques.com/wp-content/themes/pylon/inc/merlin-config.php (2200B)
esc_html__( 'Demo page','pylon' ), 'import_preview_url' => 'https://webdevcode.com/wp/pylon/live', // XML data 'local_import_file' => get_parent_theme_file_path( 'inc/merlin/demodata/demo.xml' ), // Widget data 'local_import_widget_file' => get_parent_theme_file_path( 'inc/merlin/demodata/widgets.wie' ), 'local_import_customizer_file' => get_parent_theme_file_path( 'inc/merlin/demodata/customizer.dat' ), ), ); } add_filter( 'merlin_import_files', 'pylon_merlin_local_import_files' ); function pylon_merlin_after_import_setup() { global $wp_filesystem; require_once ( ABSPATH . '/wp-admin/includes/file.php' ); WP_Filesystem(); //theme-options $theme_options = get_parent_theme_file_path( '/inc/merlin/demodata/theme-options.json' ); $theme_options_raw_data = $wp_filesystem->get_contents( $theme_options ) ; $theme_options_data = maybe_unserialize(json_decode( $theme_options_raw_data, true )); update_option( 'pylon_theme_option', $theme_options_data); $primary = get_term_by( 'Main Menu' ,'Service Menu' ,'Explore' ); set_theme_mod( 'nav_menu_locations', array( 'main-menu' => $primary->term_id, ) ); // Assign front page and posts page (blog page). $front_page_id = get_page_by_title( 'Home' ); $blog_page_id = get_page_by_title( 'Blog' ); update_option( 'show_on_front', 'page' ); update_option( 'page_on_front', $front_page_id->ID ); update_option( 'page_for_posts', $blog_page_id->ID ); if ( did_action( 'elementor/loaded' ) ) { // update some default elementor global settings after setup theme update_option( 'elementor_active_kit', '21' ); update_option( 'elementor_disable_color_schemes', 'yes' ); update_option( 'elementor_disable_typography_schemes', 'yes' ); update_option( 'elementor_global_image_lightbox', 'yes' ); update_option( 'elementor_experiment-e_swiper_latest', 'inactive' ); update_option( 'elementor_cpt_support', ['page','pylon_service','pylon_credit_card'] ); } } add_action( 'merlin_after_all_import', 'pylon_merlin_after_import_setup' );