Forum Replies Created
-
AuthorPosts
-
Jim
ParticipantMichael
As for the custom template, yes I was looking at customizing it. It is not a huge deal since I wrote the plug-in to pre-fill the name, surname, and email address. But was wondering why when I have disabled all the plug-ins, except for newsletter, why I still get a 404 when I try to put something in the subscribers, html forms, form 1, and save.
Jim
ParticipantI actually just wrote a plug-in that I just got working to do this. 🙂
It pre-fills the first name, last name, and email from the user profile information and makes it readonly since we do not want members adding other people which are no subscribers to the newsletter.Jim
ParticipantThank you. Once we get this to work, I would like to see if it can prefill the first,last, and email from the WP user information as they are logged in.
Thanks again Michael
Jim
ParticipantYes, I even pasted this into FORM 1 and got the 404
<div class=”tnp tnp-subscription “>
<form method=”post” action=”https://vspalumni.org/wp-admin/admin-ajax.php?action=tnp&na=s”>
<input type=”hidden” name=”nlang” value=””>
<div class=”tnp-field tnp-field-firstname”><label for=”tnp-1″>First name</label>
<input class=”tnp-name” type=”text” name=”nn” id=”tnp-1″ value=”” placeholder=”” required></div>
<div class=”tnp-field tnp-field-surname”><label for=”tnp-2″>Last name</label>
<input class=”tnp-surname” type=”text” name=”ns” id=”tnp-2″ value=”” placeholder=”” required></div><div class=”tnp-field tnp-field-email”><label for=”tnp-3″>Email</label>
<input class=”tnp-email” type=”email” name=”ne” id=”tnp-3″ value=”” placeholder=”” required></div>
<div class=”tnp-field tnp-field-button” style=”text-align: left”><input class=”tnp-submit” type=”submit” value=”Subscribe” style=””>
</div>
</form>
</div> -
AuthorPosts