Making WordPress.org


Ignore:
Timestamp:
05/20/2015 07:34:02 PM (10 years ago)
Author:
coffee2code
Message:

jobs.wordpress.net: Add and style inline help text for certain job form input fields (email address, location, how to apply).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-post-job.php

    r1606 r1607  
    3131    <?php jobswp_text_field( 'last_name', __( 'Last Name', 'jobswp' ), true ); ?>
    3232
    33     <?php jobswp_text_field( 'email', __( 'Email Address', 'jobswp' ), true, 'email' ); ?>
     33    <?php jobswp_text_field( 'email', __( 'Email Address', 'jobswp' ), true, 'email', __( 'This is the email address you would use in contacting us and for us to contact you.', 'jobswp' ) ); ?>
    3434
    3535    <?php jobswp_text_field( 'phone', __( 'Phone Number', 'jobswp' ), true, 'tel' ); ?>
     
    4444    <?php jobswp_text_field( 'company', __( 'Company Name', 'jobswp' ), true ); ?>
    4545
    46     <?php jobswp_text_field( 'location', __( 'Location', 'jobswp' ) ); ?>
     46    <?php jobswp_text_field( 'location', __( 'Location', 'jobswp' ), false, 'text',  __( 'The desired location for any applicants and not necessarily your business location. Use \'N/A\' or leave blank if allowing a remote worker from anywhere.', 'jobswp' ) ); ?>
    4747
    4848    <div class="post-job-input">
     
    5656            </select> :
    5757            <input type="text" name="howtoapply" class="<?php echo jobswp_required_field_classes( 'howtoapply' ); ?>" <?php echo jobswp_field_value( 'howtoapply' ); ?> />
     58        </div>
     59
     60        <div class="job-help-text">
     61            <?php _e( 'If choosing "Email Address", use an email address you are comfortable exposing to any visitor of the site. It need not match the private email address asked for in the Contact Information section.', 'jobswp' ); ?>
    5862        </div>
    5963    </div>
Note: See TracChangeset for help on using the changeset viewer.