deepakchandra0
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Reviews
In reply to: [One Click Demo Import] after updation your plugin is not working.thanks for your reply… when i export the xml file… then i got this type of link –
<guid isPermaLink=”false”>https://wp.zozotheme.com/wp/wp-content/uploads/sites/5/2019/01/02-min-1.jpg</guid>
<guid isPermaLink=”false”>https://wp.zozotheme.com/wp/freelancer/wp-content/uploads/sites/5/2019/01/work-4.jpg</guid>
but i am not using this type of images in my site
Forum: Reviews
In reply to: [One Click Demo Import] after updation your plugin is not working.here is log file –
https://www.idraulico-brescia-24h.it/wp-content/uploads/2021/04/log_file_2021-04-01__04-50-57.txthere is my code :
<?php function zozo_import_files() { return array( array( 'import_file_name' => esc_html__('Main Demo Import', 'mover-pro'), 'import_file_url' => get_template_directory_uri() . '/inc/core/demo-data/demo.xml', 'import_customizer_file_url' => get_template_directory_uri() . '/inc/core/demo-data/customizer-export.dat', 'import_preview_image_url' => 'https://wp.zozotheme.com/wp-moverproe/plugins/main-demo.jpg', 'preview_url' => 'https://wp.zozotheme.com/wp-moverproe/', ), ); } add_filter('pt-ocdi/import_files', 'zozo_import_files'); if (!function_exists('zozo_after_import')): function zozo_after_import($selected_import) { //Set Front page $page = get_page_by_title('home-2'); $blog = get_page_by_title('Blog'); update_option('page_on_front', $page->ID); update_option('page_for_posts', $blog->ID); update_option('show_on_front', 'page'); if (class_exists('revslider')) { $slider_array = array( get_template_directory() . "/inc/slider1.zip", get_template_directory() . "/inc/slider2.zip", get_template_directory() . "/inc/slider3.zip", ); $slider = new RevSlider(); foreach ($slider_array as $filepath) { $slider->importSliderFromPost(true, true, $filepath); } echo ' Slider processed'; } } add_action('pt-ocdi/after_import', 'zozo_after_import'); endif; add_filter('pt-ocdi/disable_pt_branding', '__return_true');
===========================================================
kindly check this.
Viewing 2 replies - 1 through 2 (of 2 total)