[Resolved] Plugin Admin Page Sortable Metaboxes
I have successfully created my metaboxes and they are opening/closing and dragging properly.
However, they will NOT save their positions (or open/close status) when refreshing the page.
Can someone point me to how WordPress saves the sortable metaboxes?
Here is a snippet of my code:
I have also read it’s necessary to call the add_metabox from outside the add_options_page function. But when I do this, the metabox disappears from my plugin page.
Thank you very much to anyone who can help.
UPDATE: I am using the following code (I picked up somewhere).
<form action="" method=""> <?php wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false ); ?> <?php wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false ); ?> <input type="hidden" name="action" value="save_dashboard_settings" /> </form>
… as well as the
- The topic ‘[Resolved] Plugin Admin Page Sortable Metaboxes’ is closed to new replies.