- Jul 25, 2018
- 12,062
- 22,063
- 120
Explain Please?I did not understand anything from this plugin.
Does it have a free plugin?
<?php include NEWSLETTER_DIR . '/tnp-header.php'; ?>
<div id="tnp-body">
<?php if (is_wp_error($license_data)) { ?>
<!-- There is already a message on top of the page, but we should add more here -->
<?php } else if ($license_data === false) { ?>
<div id="tnp-promo" class="tnp-promo-create">
<h1>Almost done. Get a free license key to install our free addons!</h1>
<input id="tnp-email" type="email" name="email" value="<?php echo esc_attr($current_user->user_email) ?>" placeholder="Your email address">
<!-- <input class="tnp-button" type="button" value="Create account" onclick="tnp_register()">-->
<button class="tnp-button" onclick="tnp_register()">Create account <i class="fas fa-arrow-right"></i></button>
<br>
<div class="tnp-notes">A free account will be created on <a href="https://www.thenewsletterplugin.com" target="_blank">thenewsletterplugin.com</a> and a free license key generated. See
the privacy policy and terms of use on our site.</div>
</div>
What exactly i have to do with this?Code:<?php include NEWSLETTER_DIR . '/tnp-header.php'; ?> <div id="tnp-body"> <?php if (is_wp_error($license_data)) { ?> <!-- There is already a message on top of the page, but we should add more here --> <?php } else if ($license_data === false) { ?> <div id="tnp-promo" class="tnp-promo-create"> <h1>Almost done. Get a free license key to install our free addons!</h1> <input id="tnp-email" type="email" name="email" value="<?php echo esc_attr($current_user->user_email) ?>" placeholder="Your email address"> <!-- <input class="tnp-button" type="button" value="Create account" onclick="tnp_register()">--> <button class="tnp-button" onclick="tnp_register()">Create account <i class="fas fa-arrow-right"></i></button> <br> <div class="tnp-notes">A free account will be created on <a href="https://www.thenewsletterplugin.com" target="_blank">thenewsletterplugin.com</a> and a free license key generated. See the privacy policy and terms of use on our site.</div> </div>
It's okay... tyt man! just hopefully this gonna work!owww. im sorry. I forgot