Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #394676

    I have moved my wordpress installation to another domain and now some of the widget areas are not showing up in their correct location. For instance my Index Sidebar is showing up not on my index page but in the Displayed Everywhere widget area. (I am using the Enfold Theme with a custom Child Theme.)

    The correct widgets are in their correct widget areas in Appearance < Widgets.

    I have tried going into the affected pages and deleting the Widget Area module and inserting a new one, but it didn’t solve the problem.

    Thoughts?

    #394679
    This reply has been marked as private.
    #394995

    Hi!

    Thank you for using Enfold.

    We usually recommend the WP Migrate DB plugin whenever a user migrate or transfer a website to keep the database intact.

    Please refer to these links for more info on how to properly migrate your Enfold website from production to development and vice versa:

    http://kriesi.at/documentation/enfold/move-from-a-local-installation-to-a-live-server/
    https://code.tutsplus.com/tutorials/migrating-your-wordpress-database-wp-migrate-db-production-to-development–wp-32684

    Cheers!
    Ismael

    #395068

    Same problem here, with my Child theme I pick a specific sidebar when I edit the page, but I end up with only the “displayed everywhere” widgets.

    #395277

    Does that mean I need to uninstall everything and start from scratch or is there a way to repair the existing database?

    If so, is there a way to delete the existing custom widget areas and add new ones?

    • This reply was modified 9 years, 8 months ago by leviticus. Reason: additonal question
    #395498

    Not exactly sure how, but I think this issue is resolved for me. Maybe the steps I did below will help you pharefm?

    Our dev did a hard find/replace in the database before the migration, so I had him double check the solution found on http://theandystratton.com/2011/lost-widgets-when-migrating-domains-server for missing widgets.

    We compared the databases after the migration and found that the following tables were out of sync in a serialized string:

    dashboard_widget_options
    itsec_backup
    avia_options_enfold_child

    He corrected the “s:” value so that it correctly reflects the size of the new database. This didn’t initially solve the issue, but it did restore some of the text widgets I was missing.

    On a whim, I went into Appearance > Customize. I deleted the widgets in the Index Sidebar box and added new widgets to that sidebar. Not sure why/how, but it flushed something in the settings and my widget areas were now showing up on the correct pages, but the wrong widgets were in the sidebars. So I just had to move the correct widgets to the correct sidebars.

    • This reply was modified 9 years, 8 months ago by leviticus.
    #395982

    Hey!

    Yes if you activate a child theme and you had some custom widget areas or you activated / deactivated certain plugins such as Woocommerce or bbPress then the widget positions may be in the wrong areas.

    I’ll run this by Kriesi to see if we can switch these widget areas to use IDs instead.


    @pharefm
    , Send us a WordPress login if your still having trouble and we’ll take a look. Be sure to set your reply as private.

    Cheers!
    Elliott

    #421898
    This reply has been marked as private.
    #421998

    nevermind, my problem with the sidebars is due to some bad child-theming on my part it seems.

    #422006

    Hi!

    Glad you figured it out! Let us know if you have any other questions or issues

    Cheers!
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Widget areas not showing up in correct location after site move’ is closed to new replies.