WordPress.org

Ready to get started?Download WordPress

Forums

Widget Settings Importer/Exporter
[resolved] Exports fine, unable to import all widgets (3 posts)

  1. floridahikes
    Member
    Posted 1 year ago #

    Using 1.1 version of the plugin. I can export all widgets from my source installation just fine, and on the target installation it shows me the full list of the exported widgets ready for import. But it only imports the base sidebar widgets - Header Right, Primary Sidebar, Secondary Sidebar. I have several dozen other sidebars (as well as home page widgets) and that content is not loaded from the json file.

    Only thing I can figure is an incompatibility with Genesis sidebars? All of my sidebars (except the core ones that load properly above) are created via Genesis Simple Sidebars. Yet the export file shows all of the widget content from those sidebars - MINUS the sidebar names.

    Thanks for any insights.
    Cheers, Sandra

    http://wordpress.org/extend/plugins/widget-settings-importexport/

  2. C0BALT
    Member
    Posted 1 year ago #

    Your old site might be exporting your widget_data.json file with the contents that start like this... (open the .json file to edit this)
    [{"widgets-sidebar-2":["

    Your new site like the 2013 theme has two possible sidebars named;
    sidebar-1 and (footer sidebar in 2013 theme)
    sidebar-2 (down the side sidebar in 2013 theme)

    You will need to edit and save FROM THIS:
    [{"widgets-sidebar-2":["
    TO THIS:
    [{"sidebar-2":[" OR
    [{"sidebar-1":["

    Then after modifying the .json file you will be able to import the data into your new site, even if it has different named sidebars.

    HINT:

    If you don't know what the names of the sidebars are, EXPORT from the NEW site and open the .json file to see what names it uses.

  3. Kevin Langley
    Member
    Plugin Author

    Posted 7 months ago #

    Sandra @floridahikes,

    Unfortunately, as you said the Genesis sidebars are created through the Genesis framework via the custom function genesis_register_sidebar. Unfortunately I don't have access to the Genesis framework to debug and assist here. More paid frameworks such as Genesis should offer some sort of support that should be able to help with this. Also, with it being a paid plugin, feature requests, such as this have a good probability of being implemented if there is a decent amount of customers requesting it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic