Jump to content


Photo
- - - - -

Where is the Widget order stored?


  • Please log in to reply
3 replies to this topic

#1 sois

sois

    Advanced Member

  • Members
  • 40 posts

Posted 21 April 2012 - 07:52 PM

Here is a screenshot of the issue:

Posted Image

I deleted my local DB (easyphp) and transferred my production DB to my local server for testing. However, the widget order is all screwed up.

Where is this information kept in the DB? Is PageLines doing this? I also re-downloaded all of the theme & plugin files from prod. to local and I can't get it to look exactly the same.

Can anyone explain why the local server has the Footer Columns Sidebar first on the list and my prod. server has the (correct) Full Width Sidebar?

Thank you!

#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 21 April 2012 - 08:06 PM

There is no place where the widget order is stored. The solution to this issue is simply to slide your widgets up and down among the sidebars to ensure that they're in the desired order. See:

Please Login or Register to see this Hidden Content

This happens with migrations. It does no damage and doesn't alter settings inside widgets. They just get reordered due to a disconnect in transition to their designated sidebar. It shouldn't take more than a few minutes to resolve.

#3 sois

sois

    Advanced Member

  • Members
  • 40 posts

Posted 22 April 2012 - 12:39 AM

Ugh, that's so inconvenient to working on a development environment and a production environment. Every time I copy the DB local, it jacks everything up. What table should I not touch if I move the order? I am very confused as to why the widget panel order isn't saved anywhere. That doesn't make sense.

#4 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 22 April 2012 - 03:19 AM

The widget order under wp-admin/widgets.php is defined by what order the sidebar areas are registered by the current wordpress theme. There are two settings ( under advanced ) and they will load either like this:

Please Login or Register to see this Hidden Content

Or like this:

Please Login or Register to see this Hidden Content

The actual widget settings are stored by wordpress in the database.