Web 2.0? What is the Web?
Posts: 1,900
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
I recently installed the custom dashboard management plugin for wordpress and removed all the fluff from the main page (which is what it allows you to edit), and to place certain options into my main admin page, I need all the PHP code, and here's what I wanted:
Drafts Page
This is some of the code I know will fetch it for me, but it's not very clean (It has an additional box around it, along with an extra footer, which I don't want). So if anyone could clean it up
Code:
<p><?php global $wpdb,$wp_locale,$id; if(!$_GET['post_status']){$_GET['post_status'] = 'draft'; $_GET['s'] = ''; $_GET['m'] = 0; $_GET['cat'] = 0;}?></p>
<p><?php include_once(ABSPATH . 'wp-admin/edit.php');?></p>
One more thing I wanted to add was the "Gray Box" features (Which has things like "Recent Commnets", "Spam" , etc.)
But I don't know the source code for it. I'd appreciate any help on it.
|