0

I have a script like this, for example (excerpt):

<form name="loginform" id="loginform" action="<?php echo esc_url(home_url('/')); ?>wp-login.php" method="post" class="sign_form">
    <div class="row">
        <div class="col-md-6 col-sm-6 col-xs-12 form-group">
            <input class="form-control" id="name_email" name="log" type="text"
                   placeholder="Username" onfocus="this.placeholder=''"
                   onblur="this.placeholder='Username'">
        </div>
        <div class="col-md-6 col-sm-6 col-xs-12 form-group">
            <input class="form-control" type="password" name="pwd" id="pass"
                   placeholder="Password" onfocus="this.placeholder=''"
                   onblur="this.placeholder='Password'">
        </div>
<!-- ..... etc ..... -->

Full source: https://pastebin.com/6kqZFbSi

For the life of me I cannot figure out where or how I am am supposed to apply the millions of scripts I come across like this. DO I host them on my own server and somehow embed them in a URL call to wp-login, or do I need authenticated access to the server already to write the scripts to plugins or something? What do I do with this, I feel like an idiot for missing this huge undiscussed puzzle piece.

Thank you for your time and patience with me.

  • 1
    Where is this script from? Generally you should probably not mess directly with the Wordpress installation until you have a better grasp of its concepts. But for the record, this would go alongside Wordpress itself on the server where you are running it. There is absolutely no way you can use this on a server you do not own and control. – tripleee Aug 4 '19 at 10:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.