• Resolved exstheme

    (@exstheme)


    Hello!
    First of all, many thanks for your great plugin!

    After exporting/importing very basic Elementor site pages are imported but Global Site Settings are not:

    https://i.imgur.com/GzbmeYh.png

    Are we missed something?

    We found that the global settings are stored in the database as a postmeta for this post:

    wp_posts:
    https://i.imgur.com/SwMm8k9.png

    wp_postmeta:
    https://i.imgur.com/tesH4Tz.png

    But there is no such postmeta in the target site after import.

    Steps to reproduce:
    1. Install Elementor on the clean WordPress installation.
    2. Create simple Elementor page.
    3. Edit global site settings.
    4. Export site with Advanced Export plugin.
    5. Install Elementor and Advanced Import on the clean WordPress target installation.
    6. Import file from the first installation.
    7. Check – no global site settings imported.

    Can you please help to resolve this issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor codersantosh

    (@codersantosh)

    Hello @exstheme ,

    Can you please update a line of code of Advanced Export on your setup and try to Export and Import.

    From
    $post_meta_data[ $post_meta_data_key ] = maybe_unserialize( get_post_meta( $single_post_data->ID, $post_meta_data_key, true ) );

    TO
    $post_meta_data[ $post_meta_data_key ] = get_post_meta( $single_post_data->ID, $post_meta_data_key, true );

    Let me know if this works for you.

    Best Regards!

    Thread Starter exstheme

    (@exstheme)

    Hello, @codersantosh !

    Thanks for your reply and your suggestions.
    Unfortunately they did not work.

    We found that ‘_elementor_page_settings’ post meta for post with type ‘elementor_library’ and title ‘Default Kit’ is exist in the exported (content.json) file even before modifying the code according to your recommendation.

    Here is an exported zip file after code modification:
    https://cdn.exsthemewp.com/elementor-ai-global-test.zip

    We have changed global colors and global typography.
    But they do not get imported during import process.

    Did you reproduce this issue on your environment?

    Best regards!

    Thread Starter exstheme

    (@exstheme)

    We found that Elementor creates post with type ‘elementor_library’ during it’s first activation. And your plugin looking for the posts with same name and title in existing WordPress installation and do not import them if it found one.

    We have created the new version of your ‘advanced-import/admin/class-advanced-import-admin.php’ plugin’s file, that you can find here:

    https://www.ads-software.com/support/topic/plugin-update-to-process-elementor-global-site-settings/#new-topic-0

    With our patch your plugin will update an existing post with ‘elementor_library’ type and update it’s meta.

    Can you please create an update of your great plugin if this patch will work for it?

    Best regards!

    Plugin Contributor codersantosh

    (@codersantosh)

    Hello @exstheme ,

    Please follow this thread.

    Best Regards!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Does not import Elementor Site Settings (Global Settings)?’ is closed to new replies.