Skip to content

Instantly share code, notes, and snippets.

@topmask
Created October 19, 2021 08:47
Show Gist options
  • Save topmask/28f9966ea471e24cd5d9ba28f1fdaba8 to your computer and use it in GitHub Desktop.
Save topmask/28f9966ea471e24cd5d9ba28f1fdaba8 to your computer and use it in GitHub Desktop.
custom WordPress form
<form action="#" method="POST" class="comment-form">
<div>
<label for="don">Donation amount</label>
<input id="don" type="number" name="don" value="5" />
</div>
<input id="submit" type="submit" name="cagnote-don-envoi" id="submit" class="submit" value="Submit" />
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment