WordPress.org

Plugin Directory


Ignore:
Timestamp:
06/30/17 13:06:18 (3 months ago)
Author:
bastho
Message:

Initial work on datepicker for search form

File:
1 edited

Legend:

Unmodified
Added
Removed
  • event-post/trunk/views/search-form.php

    r1684297 r1688293  
    1515            <?php _e('Between:', 'event-post'); ?> 
    1616        </label> 
    17         <input id="eventpost-search-from-<?php echo $list_id; ?>" type="date" name="from" value="<?php echo esc_attr($from); ?>"/> 
     17        <input id="eventpost-search-from-<?php echo $list_id; ?>" type="text" name="from" value="<?php echo esc_attr($from); ?>" class="eventpost-datepicker-simple"/> 
    1818 
    1919        <label for="eventpost-search-to-<?php echo $list_id; ?>"> 
    2020            <?php _e('to:', 'event-post'); ?> 
    2121        </label> 
    22         <input id="eventpost-search-from-<?php echo $list_id; ?>" type="date" name="to" value="<?php echo esc_attr($to); ?>"/> 
     22        <input id="eventpost-search-from-<?php echo $list_id; ?>" type="text" name="to" value="<?php echo esc_attr($to); ?>" class="eventpost-datepicker-simple"/> 
    2323    </div> 
    2424    <?php endif; ?> 
Note: See TracChangeset for help on using the changeset viewer.