wp_insert_post let users post to without login…broke

wp_insert_post() makes use of the current user at several points, if memory serves. So, you’d want to use wp_set_current_user() to switch that to some shared author user, and then switch it back to its original value when you’re done. Alternatively, require users to be logged in and allow all groups to create drafts.

display list of posts/pages in admin edit post/page

Try the CMS Tree Page View plugin (my favorite) or the Easily navigate pages on dashboard plugin. Both allow you to have a list of your pages on the Dashboard. Then you should be able to add that panel using this reference: add_meta_box to integrate the box that appears on the Dashboard (see wp_add_dashboard_widget in … Read more

How to get a nofication when post submitted

You could try this inside your themes functions.php: its a function by dagon design function dddn_process($id) { global $wpdb; $tp = $wpdb->prefix; $result = $wpdb->get_row(” SELECT post_status, post_title, user_login, user_nicename, display_name FROM {$tp}posts, {$tp}users WHERE {$tp}posts.post_author = {$tp}users.ID AND {$tp}posts.ID = ‘$id’ “); if ($result->post_status == “publish”) { $message = “”; $message .= “A new … Read more