Jan Reidel
Forum Replies Created
-
Well, I use it in both service emails as well as newsletters.
It work in the past e.g. in the double-opt-in email where I put in the timestamp of subscription to document when the subscription attempt happened.
I also use it in a newsletter template in the copyright section to get the year.
I assume, these are the common cases for the application of this tag and that it is used by many users. But when you say that this isn’t supported anymore, I must go down another road and implement it with a shortcode myself.
Forum: Plugins
In reply to: [Newsletter - Send awesome emails from WordPress] Profile Form not savedThese are the shortcodes I used to create a custom form which contains the same field like the standard form.
[newsletter_profile]
[newsletter_profile_field name="email"/]
[newsletter_profile_field name="first_name"/]
[/newsletter_profile]This is the form generated by the shortcodes.
<form action="#" method="post">
<input type="hidden" name="nk" value="0-0">
<div class="tnp-field tnp-field-email">
<label>E-Mail</label>
<input class="tnp-email" type="text" name="ne" required="" value="[email protected]">
</div>
<div class="tnp-field tnp-field-firstname">
<label>Vorname</label>
<input class="tnp-firstname" type="text" name="nn" value="John">
</div>
<div class="tnp-field tnp-field-button">
<input class="tnp-submit" type="submit" value="Profil speichern">
</div>
</form>This is the shortcode for the standard form with just email and firstname configured.
[newsletter_profile /]
This is the standard form generated by the shortcode.
<form action="https://localhost/www.mydomain.de/?na=ps" method="post">
<input type="hidden" name="nk" value="0-0">
<div class="tnp-field tnp-field-email">
<label>E-Mail</label>
<input class="tnp-email" type="text" name="ne" required="" value="[email protected]">
</div>
<div class="tnp-field tnp-field-firstname">
<label>Vorname</label>
<input class="tnp-firstname" type="text" name="nn" value="John">
</div>
<div class="tnp-field tnp-field-button">
<input class="tnp-submit" type="submit" value="Profil speichern">
</div>
</form>Both forms look pretty much the same except the form action in row 1. The standard form has the correct URL while the custom form has just the hashtag symbol (#) as the form action.
Clicking on the profile save button results in case of the standard form in saving the field values while in case of the custom form the values are just cleared from the field and are not saved.
Forum: Plugins
In reply to: [Newsletter - Send awesome emails from WordPress] Profile Form not savedI’m sorry, I have no live version but I can post the generated HTML of that form if it helps?
Right, I see just the tag and it is not replaced by the actual date.