WordPress.org

Ready to get started?Download WordPress

Forums

SpeakUp! Email Petitions
Filed labels not displaying (3 posts)

  1. pbdeepak
    Member
    Posted 11 months ago #

    http://www.voiceofindian.org/sign-petition-pm/

    Field label not displaying for First name, last name and Email ID

    http://wordpress.org/plugins/speakup-email-petitions/

  2. annabelle15
    Member
    Posted 11 months ago #

    If I may........

    Open your emailpetition.php

    Lines 75 - 85

    Find below...__('First Name','dk_speakup')....

    <label for="dk-speakup-first-name-' . $petition->id . '" class="required">' . __( 'First Name', 'dk_speakup' ) . '</label>

    If you don't have 'First Name' enter it...this is what titles your rows.
    Do the same for 'Last Name' and 'Email'

    Hope that helps!

  3. pbdeepak
    Member
    Posted 11 months ago #

    Hi thank you. But i cant understand it.

    This is the code in the file. Where i have to enter first name

    <div class="dk-speakup-full">
    <label for="dk-speakup-first-name-' . $petition->id . '" class="required">' . __( 'First Name', 'dk_speakup' ) . '</label>
    <input name="dk-speakup-first-name" id="dk-speakup-first-name-' . $petition->id . '" value="' . $userdata['firstname'] . '" type="text" />
    </div>
    <div class="dk-speakup-full">
    <label for="dk-speakup-last-name-' . $petition->id . '" class="required">' . __( 'Last Name', 'dk_speakup' ) . '</label>
    <input name="dk-speakup-last-name" id="dk-speakup-last-name-' . $petition->id . '" value="' . $userdata['lastname'] . '" type="text" />
    </div>
    <div class="dk-speakup-full">
    <label for="dk-speakup-email-' . $petition->id . '" class="required">' . __( 'Email', 'dk_speakup' ) . '</label>
    <input name="dk-speakup-email" id="dk-speakup-email-' . $petition->id . '" value="' . $userdata['email'] . '" type="text" />

Reply

You must log in to post.

About this Plugin

About this Topic