• Resolved Tears For Someone

    (@tearsforsomeone)


    Custom Login Page Without Any Plugins
    This is very simple tricks…
    You Have Just Basic Knowledge Of Editing CSS In WordPress.

    Custom Login Screen Basic Needs
    Themes Header, Footer, & style.css

    1. Copy all files and folders from theme folder to wordpress folder, if it asks replace files, choose skip replace file.

    2. Open wp-login.php

    3. Copy this code <?php get_header(); ?>
    and paste before this line ” <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt; “

    4. Copy this code <?php get_footer(); ?>
    and paste at the end.

    5. Copy all code from style.css
    and paste at the end of login.css (Path : /wp-admin/css/login.css)

    Custom Login Page Without Any Plugins
    This is very simple tricks…
    You Have Just Basic Knowledge Of Editing CSS In WordPress.

    Custom Login Screen Basic Needs
    Themes Header, Footer, & style.css

    1. Copy all files and folders from theme folder to wordpress folder, if it asks replace files, choose skip replace file.

    2. Open wp-login.php

    3. Copy this code <?php get_header(); ?>
    and paste before this line ” <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt; “

    4. Copy this code <?php get_footer(); ?>
    and paste at the end.

    5. Copy all code from style.css
    and paste at the end of login.css (Path : /wp-admin/css/login.css)

    6. You need some changes in default code of login.css or you can delete whole default code.

    Try It…. Its Simple & Works 100%.

    Try It…. Its Simple & Works 100%.

Viewing 15 replies - 1 through 15 (of 24 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Are you telling people to EDIT wp-login.php? or make a new page?

    Don’t edit wp-login.php – it’ll be overridden when you update.

    Thread Starter Tears For Someone

    (@tearsforsomeone)

    i am telling people to EDIT wp-login.php…
    it’s not overridden when you update…

    its a simple logic…
    wp-login has no header and footer…
    the base is of header and footer is style.css

    so try it… and make few changes in css code…
    its worked, try this.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    i am telling people to EDIT wp-login.php…
    it’s not overridden when you update…

    *sigh* Yes it is. In fact, if you’re ever hacked, it’s one of the files we tell you to remove and replace with a fresh copy.

    You can style your login differently, but editing the core files is never the way to go about it. Please only edit files in your theme folder (and even then, use a child theme).

    For the record, here are the files that are NOT overwritten when you upgrade WP:
    wp-config.php
    .htaccess
    /wp-content/themes/*
    /wp-content/plugins/*
    /wp-content/uploads/

    Why did I * mark themes and plugins? Becuse the theme twentyten and twentyeleven, and the plugins Hello Dolly and Akismet WILL be overwritten.

    Today WP only updates changed files. If any files outside the ones I mentioned are edited (like wp-login.php) then you will lose your changes. Please don’t do that.

    Thread Starter Tears For Someone

    (@tearsforsomeone)

    There is 3 basic concept….

    1. wp-login has no title header, menu bar and footer.

    2. theme has title header, menu bar, footer and own style.css.

    3. and third is our brain.

    finish.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    And four is a complaint “Why did the upgrade overwrite my changes!?”

    Use a plugin, please. There’s a very good reason we tell you not to edit core ?? If you don’t believe me, just wait.

    It’s very easy to make a login screen as part of your theme
    https://vudu.me/28v
    (THat would match your theme, use the header, footer, nav, etc)

    Or to block the default stylesheet from loading, and loading a custom one instead
    https://vudu.me/2p0

    Both of these options are plugin free, and involve only your theme. Why not keep it safe eh?

    Here is a good tutorial on how to Build a Custom WordPress Login Screen without modifying your core files:

    https://liljosh.com/build-a-custom-wordpress-login-screen-tutorial/

    and also some inspiration:

    https://www.flickr.com/groups/bm-custom-login/pool/with/3948974714/

    Enjoy.

    -lil josh

    Thread Starter Tears For Someone

    (@tearsforsomeone)

    Well sorry for my above experiment, but it works that time luckily.

    then i found some little changes…

    Custom Login Screen Basic Needs
    Themes Header, Footer, & style.css

    1. Open wp-login.php

    2. Copy this code <?php get_header(); ?>
    and paste before this line ” <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt; “

    3. Copy this code <?php get_footer(); ?>
    and paste at the end.

    4. Final change at line number 68 and 69
    wp_admin_css( ‘style’, true );
    wp_admin_css( ‘style’, true );

    Thats it, and it works.

    @ Ipstenu, please try this, it works really.

    Never, ever, edit core files!

    Thread Starter Tears For Someone

    (@tearsforsomeone)

    but it really works, just try this…
    you have to spend only 5 minutes for that…

    Tears, what happens when you update WordPress? Won’t that file get overwritten?

    [sig moderated as per the Forum Rules]

    And you can bring your entire site down in the same 5 minutes by editing core scripts.

    Thread Starter Tears For Someone

    (@tearsforsomeone)

    @ esmi : i knw its all core scripts…

    but you have to try it…

    after updating wordpress, you have to spend only 20 seconds to change this code… because it works…

    Tears, that may work from the perspective of a developer… but a lot of WordPress sites are handed off to clients who do not want (nor know how) to touch core files.

    Or, you do it the right way, in your theme.

    Then, whenever wordpress gets updated, you don’t have to edit anything.

    It’s so easy to make a login page in your theme… why would you hack at core?

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Custom Login Page Without Any Plugins’ is closed to new replies.