How Do I Create a custom login page for single site on my multisite network?

I'd like to create custom login page for one site on my network. The login screen will redirect to the site's homepage.

I've read this:

But I believe that it will change the login screen for the entire network. Can someone help?

  • timstrifler
    • The Incredible Code Injector

    The best thing to do is to take that code from the tutorial and create a custom plugin with it, instead of placing the code in your functions.php file.

    If you create a custom plugin, you can activate it on a per-site basis, just like any other plugin.

    If you've never created a custom plugin before it's actually extremely easy. All you need is a php file with the plugin info at the top (so WordPress can recognize it) and then place the php file in a folder and then place that in wp-content/plugins/

    This is the plugin code you need at the top:

     * Plugin Name: Name Of The Plugin
     * Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
     * Description: A brief description of the Plugin.
     * Version: The Plugin's Version Number, e.g.: 1.0
     * Author: Name Of The Plugin Author
     * Author URI: http://URI_Of_The_Plugin_Author
     * License: A "Slug" license name e.g. GPL2

    You can visit this page for more info.

    So just add the code from the tutorial that would normally go in the functions.php file and place it in your custom plugin after the code above.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.