WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a simple table, and the jquery works great for sorting. The fields drags an drops perfectly, and updates then and their. Also of course the data in the fields are saved in a array. The data in the fields saves after clicking "save changes" button but NOT the sort order. The sort order returns to its previous state.

example: 1(bb) 2(tom) 3(fred)


1(tom) 2(bb) 3(fred)

then clicks "save changes"

after clicking "save changes" it returns to its previous state which is

1(bb) 2(tom) 3(fred)

the sort order does NOT save only the values. what other function i am suppose to add, to make this work? The jquery works, it does its job of sorting, but for WordPress to understand that it was sorted another way, what do I do?

share|improve this question
please put some code that tell us how are you saving values to WordPress database. – Ravinder Kumar Jun 7 '13 at 18:41
How are you creating the table? WordPress will automatically track meta box placement. I don't think it tracks anything else. – s_ha_dum Jun 7 '13 at 19:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.