Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @mmkurhade,

    Yes, serialized data is difficult to edit (as it’s not designed to be), but that’s just how WordPress stores complex data types in the database.

    The knowledge base article you are referencing provides code enabling you to edit your tabs as JSON, but it only provides instructions on parsing the import. There was another recent support thread which includes a discussion on how to convert your tab data to JSON during the export – https://wordpress.org/support/topic/export-not-including-data/

    Let me know if that helps,
    Jon

    Thread Starter mmkurhade

    (@mmkurhade)

    I am little confused as if I import exported data as it is, it brings all tabs. And about the article, I am able to map fields but it doesn’t show data in tabs. For example, my tab name is Note and if I map it as per article, it imports blank fields.

    Hi @mmkurhade,

    If you use an existing export, the tabs will be formatted as serialized data. If you then try to import the data after converting the importer to recognize JSON, it won’t see anything.

    You first need to add code to convert the exported meta to JSON, then export it again. After doing that, future imports using the JSON strategy will recognize the tabs.

    Let me know if that helps,
    Jon

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Exporting and Importing Data’ is closed to new replies.