rodboc
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Thanks Hitesh, but it is not working after the last changes. My code looks like that
<?php if ( $datetimes) : ?> <div class="wpem-form-group"> <label for="search_datetimes" class="wpem-form-label"><?php _e( 'Any dates', 'wp-event-manager' ); ?></label> <select name="search_datetimes[]" id="search_datetimes" class="event-manager-category-dropdown" data-placeholder="Choose any date…" data-no_results_text="No results match" data-multiple_text="<?php _e('Select Some Options','wp-event-manager'); ?>" > <option value=”01-02-2020 00:00:00” >1st feb</option> <option value=”01-02-2020” >1st feb</option> </select> </div> <?php endif; ?>- This reply was modified 6 years, 4 months ago by rodboc.
Thanks for your answer Hitesh but actually the code you posted is not filtering properly by date. Should I change the option value for something like “20200201” yyymmdd ?
Thanks @hiteshmakvana, any idea how to get it done? I can go to the template but after that I’m clueless
Viewing 3 replies - 1 through 3 (of 3 total)