wpalchemy icon indicating copy to clipboard operation
wpalchemy copied to clipboard

Drag & Drop for have_fields_and_multi

Open hostprofile opened this issue 14 years ago • 4 comments

It'd be awesome to see the ability to drag, drop, and order the fields within the have_fields_and_multi container, much how we can freely move the sidebar widgets up and down, and basically place them wherever we'd like :-).

Surely this could be done with a little more JS, though I've yet to get it working using a few snippets.

hostprofile avatar Nov 12 '11 03:11 hostprofile

yup, considering it...

farinspace avatar Nov 12 '11 06:11 farinspace

Looking forward to it as a very welcome addition :-)

hostprofile avatar Nov 12 '11 06:11 hostprofile

You can use the JS code mentioned here: http://www.farinspace.com/sorting-wordpress-meta-box-fields/ It works as expected for me.

mamouneyya avatar Nov 15 '11 07:11 mamouneyya

yeah i am doing it in my "holy grail" sample theme. http://www.kathyisawesome.com/426/multiple-wordpress-wysiwyg-visual-editors/ if i recall, it was following dimas's tutorial. it isn't much more than

$('.wpa_loop').sortable();

but it'd be cool if this was automatic

helgatheviking avatar Mar 13 '12 02:03 helgatheviking