Hide Status Option From WordPress Publish Metabox and Rename Published on:

Both those strings seem to be located in wp-admin/includes/meta-boxes.php. They don’t have any filters attached to them, so they’re not meant to be (easily) altered by your code. However, both those strings are internationalized (ie, run through a translation function) to allow WordPress’s interface to be translated into languages other than English. The i18n functions—__() … Read more

Restrict Viewing of post on both front and backend?

to restrict on the back-end you can use the default author role. and on the front-end you ca use something like: function check_rights_8876(){ global $post,$current_user; $author_id=$post->post_author; get_currentuserinfo(); if ( is_user_logged_in() ) { if ( current_user_can(‘manage_options’) ){// admin return true; } if ($author_id = $current_user->ID ){// curent post author return true; } } return false; } … Read more

Display Plugin Panels Outside of Admin Areas

Look at the markup for the callback function called by add_theme_page() or add_settings_page(), and use that markup to create a custom Page template. For code that simply outputs content, this should be fairly straight-forward; for code that actually saves settings, you’re probably going to have to do more work in order to create front-end data … Read more

blocking the admin section (but still using admin-ajax.php)

The following action hook should help: add_action(‘admin_init’, ‘wpse28702_restrictAdminAccess’, 1); function wpse28702_restrictAdminAccess() { $isAjax = (defined(‘DOING_AJAX’) && true === DOING_AJAX) ? true : false; if(!$isAjax) { if(!current_user_can(‘administrator’)) { wp_die(__(‘You are not allowed to access this part of the site’)); } } }

Admin top level menu, pointing to an external url

Just add your custom item into $menu instead of $submenu. Use here as a reference for parent menu structure. http://core.trac.wordpress.org/browser/tags/3.2.1/wp-admin/menu.php Eg. add_action( ‘admin_menu’ , ‘admin_menu_wpse32975’ ); function admin_menu_wpse32975() { global $menu; $menu[9999] = array( __(‘My Menu’), ‘manage_options’, ‘http://www.google.com’, ”, ‘open-if-no-js menu-top’, ”, ‘div’ ); }