How do I set the homepage to the WordPress Admin Dashboard login?
Add the following to your .htaccess file: # Custom default index page DirectoryIndex ./wp-login.php That should work.
Add the following to your .htaccess file: # Custom default index page DirectoryIndex ./wp-login.php That should work.
Well I agree with @Faye. It might be due to the activated theme which is depending on one of the plugin you deactivated. But rather than doing all of the steps you can simply rename the active theme in the wp-content/themes folder via FTP or cPanel. This will deactivate the theme and if it’s the … Read more
On a multisite network is_admin() is true for everything under /wp-admin, including the multisite network admin at /wp-admin/network, but is_blog_admin() is only true for the admin for an individual site/blog on the network, and is not true for /wp-admin/network.
This will put one separator right after ‘Appearance’ and one right before ‘Plugins’. Just make sure to give your menu position 62 or 63. You can just add it to whatever file is adding the admin page to begin with. This should be called after everything else has been added. function jpb_menu_isolator(){ global $menu; $menu[61] … Read more
The quickest way to do this is through an Apache rewrite via mod_rewrite. You’ll also have to tell WordPress where to points its login links using the login_url and logout_url filters. return apply_filters(‘login_url’, $login_url, $redirect); return apply_filters(‘logout_url’, $logout_url, $redirect);
This looks flawed: add_theme_support( ‘post-thumbnails’, array( ‘post’ ) ); add_theme_support( ‘post-thumbnails’, array( ‘page’ ) ); Do you see the post thumbnail box on pages? If so, you have just overwritten the support on posts with the second declaration. Better: add_theme_support( ‘post-thumbnails’, array( ‘post’, ‘page’ ) );
One of two ways: Add a shortcode, so someone could drop in [content-block id=”12″] wherever they wanted. Here’s a very simple example without a lot of error checking. <?php add_action( ‘init’, ‘wpse29418_add_shortcode’ ); function wpse29418_add_shortcode() { add_shortcode( ‘content-block’, ‘wpse29418_shortcode_cb’ ); } function wpse29418_shortcode_cb( $atts ) { $atts = shortcode_atts( array( ‘id’ => 0 ), $atts … Read more
What about Network Publisher? Supports 25 networks, probably all you need. Worth noticing: It uses a third-party service LinksAlpha.
Unfortunately this isn’t possible (without a slight hack)- since there are no hooks provided (see for example the edit.php page). A quick and easy hack is to use JavaScript to add the link after the usual ‘Add New’ link. Here I’ve used the admin_print_footer_scripts hook (on ‘post’, or ‘edit-post’ screens) to print the JavaScript. Note … Read more
You can also change the menu with the global variables of WordPress for display the menu and submenu. All first items are in the var $menu and all suparts are in $submenu. Also a small example for change the order of the submenu-items with edit.php. Add thius plugin and see the result via debugging. The … Read more