is_admin() triggers error
is_admin() triggers error
is_admin() triggers error
Using query string on edit CPT page
Weird admin area
Is it possible to load an admin page inside a thickbox?
Is it possible to change the images source that are shown in the admin side?
There’s a thread about this on the WordPress forums: http://wordpress.org/support/topic/how-to-change-the-admin-url-or-wp-admin-to-secure-login?replies=13 The original article has three steps: (1) Add constant to wp-config.php define(‘WP_ADMIN_DIR’, ‘secret-folder’); define( ‘ADMIN_COOKIE_PATH’, SITECOOKIEPATH . WP_ADMIN_DIR); (2) Add this filter to functions.php add_filter(‘site_url’, ‘wpadmin_filter’, 10, 3); function wpadmin_filter( $url, $path, $orig_scheme ) { $old = array( “/(wp-admin)/”); $admin_dir = WP_ADMIN_DIR; $new = array($admin_dir); … Read more
Custom Admin Message from external source to multiple users
Search box for hierarchical taxonomies in admin interface
sharing wp-include – wp-admin on same installation
When you enqueue new libraries to WordPress for the sake of front-end effect only, it is highly recommended to preface the function in the conditional if (!is_admin()); , thus: /** * Load newer jQuery min file. */ if (!is_admin()) add_action(“wp_enqueue_scripts”, “my_jquery_enqueue”, 11); function my_jquery_enqueue() { wp_deregister_script(‘jquery’); wp_register_script(‘jquery’, “http” . ($_SERVER[‘SERVER_PORT’] == 443 ? “s” : … Read more