Ok, this is kind of what my index.php page looks like, in relation to the "random space" section. You should be able to plop the code in your WordPress blog like this too. Somewhere in the
tags: get_row( "SELECT ID, post_content FROM $tableposts WHERE post_title = 'randomspace' and post_status='private' LIMIT 1" ); $RandomSpaceContent = $RandomSpace->post_content; if ( $user_level == 10 ) { $location = get_settings( "siteurl" ) . "/wp-admin/post.php?action=edit&post=$RandomSpace->ID"; $RandomSpaceContent .= " *"; //append "edit" link to content } ?> Somewhere in the tages: