WordPress 2.8 changes the metabox model for admin pages
codestyling | 24. May 2009 | 15:49
Some time ago i introduced a demo-plugin which shows how to deal with metaboxes inside your own admin pages based on WordPress 2.7 and higher. I’ve tested the WordPress 2.8 version and found out, that somehow the right sidebar have had disappeared. The reason of this behavoir has been detected at the new column based layout of admin metaboxed pages. Now the user are able to configure, how many columns the admin page should consist of. This can be seen as example at the dashboard where upto 4 columns now been supported.
Under this circumstances i can’t provide a demo-plugin and tell the world, that is working well from WordPress 2.7 upwards. That’s why i took a search, what have to be changed to get again the promised behavoir also in 2.8 version. This search tooks some time but in the end i found the required changes needed to be implemented. After successful modification of original demo-plugin i did expand and update the article How to use Wordpress Metaboxes at own plugins. Now it describes the new additional code and provides also an altered download file also containing the modifications and code comments.






kmvan
09.01.2011 | 16:26i know use [do_meta_boxes()] but i don’t know how to add to the page of [post-new.php].
please tells me the ways, thank you very much.
reply »