Home Forums Newsletter Plugin Support Placeholder for email on subscription form?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15563
    Lilou
    Participant

    Hi Stefano and thanks for an amazing plugin!

    I’ve been trying to insert a placeholder in the email field on the subscription form. Is there any way to do this, from the dashboard or in functions.php? I have tried

    add_filter( 'NewsletterWidget_widget_form' , 'My_newsletter_form' );
    function My_newsletter_form( $form ) {
         $form ['newsletter-email']['placeholder'] = 'Email';
         return $form;
    }

    without success.

    /Helpseeking Lilou

    http://www.liloujohn.com/contact/

    #15576
    Stefano
    Keymaster

    It’s easy to copy the original generated form, change it, and use a normal text widget copying inside the changed form. 🙂
    Placeholder and HTML 5 form are on the way… we are working on them… but we need to keep the compatibility with old installations.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.