I run a multisite install and I have removed the page attributes meta box from view for my users because I don't want them to be able to change templates. I would like them to be able to change the page parent though. I need to add a new meta box for pages that adds just the page parent selector back.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
Did just that for one of my plugins, recently...
I implement my metaboxes as classes, hence the funny function name. I removed the menu order field which i originally kept in my metabox. I think it's a good idea to keep it. You'll find the original 'attributes' metabox in |
|||||||||||
|
|
well thanks to the help of @wyrfel I was able to get this working. I had to edit the code you gave me some, and the code for adding meta boxes since this function is already part of the core. for anyone else looking here is what I finally used (whole thing added to theme's functions.php file)
|
|||
|
|
