Hide/move custom meta boxes
-
Hey all,
I’m trying to neaten up the back end of my site where I have added a few pages, and I’m trying to make my meta boxs all swish and nifty like the one on the Dashboard for example (where you can drag them and move them around).
I found some example code but can’t seem to get it to work – just wondering if anybody is able to spot any errors/omisisons with the below code?
Thanks.
<div id="screen-main-container" class="wrap"> <?php screen_icon('options-general') ?> <h2>Screen Title</h2> <?php write_custom_admin_message($message, $class); ?> <div id="cudtom-branding" class="metabox-holder"> <div class="postbox-container" style="width: 49%;"> <div id="normal-sortables" class="meta-box-sortables"> <div id="meta-box-id-1" class="postbox"> <div class="handlediv" title="Click to toggle"><br /></div> <h3>Header</h3> <div class="inside"> {meta-box contents go here} </div> </div> <div id="meta-box-id-2" class="postbox"> <div class="handlediv" title="Click to toggle"><br /></div> <h3>Login Screen</h3> <div class="inside"> {meta-box contents go here} </div> </div> </div> </div> </div> </div>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Hide/move custom meta boxes’ is closed to new replies.