WordPress.org

Forums

Genesis eNews Extended
[resolved] Add Phone Number to Widget (2 posts)

  1. andyhlushak
    Member
    Posted 2 years ago #

    Hi,

    How can I add a phone number option to this widget?

    Thanks
    Andy

    https://wordpress.org/plugins/genesis-enews-extended/

  2. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 2 years ago #

    Hi Andy,

    You can add additional form fields using the Hidden Fields setting, with something like:

    <label for="tel" class="screenread">[text for screenreaders to read here]</label>
    
    <input type="tel" value="default value for tel input" id="enews-tel" onfocus="if ( this.value == 'default value for tel input') { this.value = ''; }" onblur="if ( this.value == '' ) { this.value = 'default value for tel input'; }" name="WHATEVER FORM NAME IS REQUIRED BY YOUR MAILING SERVICE" />

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Genesis eNews Extended
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic