-
AuthorPosts
-
February 11, 2015 at 9:15 pm #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?
February 11, 2015 at 9:17 pm #394679This reply has been marked as private.February 12, 2015 at 2:16 pm #394995Hi!
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-32684Cheers!
IsmaelFebruary 12, 2015 at 3:25 pm #395068Same 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.
February 12, 2015 at 7:46 pm #395277Does 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, 10 months ago by leviticus. Reason: additonal question
February 13, 2015 at 5:21 am #395498Not 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_childHe 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, 10 months ago by leviticus.
February 13, 2015 at 7:51 pm #395982Hey!
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!
ElliottApril 1, 2015 at 2:19 pm #421898This reply has been marked as private.April 1, 2015 at 4:34 pm #421998nevermind, my problem with the sidebars is due to some bad child-theming on my part it seems.
April 1, 2015 at 4:39 pm #422006 -
AuthorPosts
- The topic ‘Widget areas not showing up in correct location after site move’ is closed to new replies.