<?php

function pixe_import_files() {
    return array(

        array(
            'import_file_name'             => esc_html__('Main Demo Import' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/ndehz6po2sxr2y0/demos.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropboxusercontent.com/s/002lzghm0j6xi23/main-demo.jpg',
            'preview_url'                  => 'http://gentium.pixerex.com/wp',
        ),

        array(
            'import_file_name'             => esc_html__('Freelancer Demo' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/f0day7s1t0ep3xt/demo-freelancer.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropboxusercontent.com/s/xv9jwe4ontn1pgl/freelancer%20demo.jpg',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/freelancer/',
        ),

        array(
            'import_file_name'             => esc_html__('Studio Demo' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/xcp2jsl08evw2q2/demo-studio.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/t6yhz374hyd4f81/demo-studio.png',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/studio/',
        ),

        array(
            'import_file_name'             => esc_html__('Clean Demo' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/4axqiycrblxt336/clean.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/j3h52kgbk8owclj/home-clean.jpg',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/clean/',
        ),

        array(
            'import_file_name'             => esc_html__('Creative Demo' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/7cqxhm0roaw0bpw/demo-creative.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/3xyb0e9sp6y7rrw/demo-creative.jpg',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/creative/',
        ),

        array(
            'import_file_name'             => esc_html__('Startup Demo' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/9wk0pxgwz9kgizj/demo-startup.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/ldbc4w9f8jgzfbe/demo-startup.jpg',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/startup/',
        ),

        array(
            'import_file_name'             => esc_html__('Business Demo' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/yo1a2sln8tifym3/demo-business.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/q0t43xibuaws4tg/demo-business.jpg',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/business/',
        ),

        array(
            'import_file_name'             => esc_html__('Creative Agency Demo' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/i1976z0jbzkrztt/demo-creative-agency.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/me8knsmn9ja7eaa/creative-agency.jpg',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/creative-agency/',
        ),

        array(
            'import_file_name'             => esc_html__('Creative Agency Demo 2' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/qq5b4whylvcw82h/demo-creative2.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/r9f2nsjucopwz79/creative-agency%202.png',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/creative2/',
        ),

        array(
            'import_file_name'             => esc_html__('Studio Demo 2' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/l1m5xbicxctfggk/demo-studio2.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/ncutj7j0xmljk8d/studio2.png',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/studio2/',
        ),

        array(
            'import_file_name'             => esc_html__('Agency Dark Demo' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/oj1hvwcvez542fg/demo-agency-dark.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/g5xpslgudjy3i3s/agency-dark.png',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/agency-dark/',
        ),

        array(
            'import_file_name'             => esc_html__('Startup Demo 2' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/djkkji753846lkt/demo-startup2.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/o9osi939tte2qwn/startup2.png',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/startup2/',
        ),

        array(
            'import_file_name'             => esc_html__('Startup Demo 3' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/ujmbj31z7lpg7hv/demo-startup3.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/1lf25ssg2ngtr84/startup3.png',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/startup2/',
        ),

        array(
            'import_file_name'             => esc_html__('Design Agency Demo' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/og94csvvywkawlo/demo-design-agency.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/yias6x0lujdhhqo/design-agency.jpg',
            'preview_url'                  => 'http://gentium.pixerex.com/wp/design-agency/',
        ),

        array(
            'import_file_name'             => esc_html__('Business Demo 2' , 'gentium'),
            'import_file_url'              => 'https://www.dropbox.com/s/i3o7iv8cn5glu3o/demo-business2.xml?dl=1',
            'import_customizer_file_url'   => 'https://www.dropbox.com/s/4cw4qkka5v3bl1x/customizer-export.dat?dl=1',
            'import_preview_image_url'     => 'https://dl.dropbox.com/s/8ueta6cx29vut9z/business2.jpg',
            'preview_url'                  => 'https://gentium.pixerex.com/business2/',
        ),
    );
}
add_filter( 'pt-ocdi/import_files', 'pixe_import_files' );


if ( ! function_exists( 'pixe_after_import' ) ) :
    function pixe_after_import( $selected_import ) {

       //Set Front page
        $page = get_page_by_title( 'home page');
        $blog = get_page_by_title( 'Our Thinking.');
        update_option( 'page_on_front', $page->ID );
        update_option( 'page_for_posts', $blog->ID );
        update_option( 'show_on_front', 'page' );

    }
    add_action( 'pt-ocdi/after_import', 'pixe_after_import' );
endif;

add_filter( 'pt-ocdi/disable_pt_branding', '__return_true' );

?>
