Bruce

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Filterbar: Time of day customization #1121750
    Bruce
    Participant

    This reply is private.

    in reply to: Filterbar: Time of day customization #1120547
    Bruce
    Participant

    This reply is private.

    in reply to: Filterbar: Time of day customization #1120521
    Bruce
    Participant

    This reply is private.

    in reply to: Filterbar: Time of day customization #1120278
    Bruce
    Participant

    Thank you so much for your help!

    I copied your code into my theme function.php.
    Instead of your

    		$time_of_day_array = array(
    			'allday' => __( 'All Day', 'tribe-events-filter-view' ),
    			'13-14' => __( '1:00-2:00 pm', 'tribe-events-filter-view' ),
    			'14-15' => __( '2:00-3:00 pm', 'tribe-events-filter-view' ),
    			'15-16' => __( '3:00-4:00 pm', 'tribe-events-filter-view' ),
    			'16-17' => __( '3:00-5:00 pm', 'tribe-events-filter-view' ),
    			'17-18' => __( '3:00-6:00 pm', 'tribe-events-filter-view' ),
    			'18-19' => __( '3:00-7:00 pm', 'tribe-events-filter-view' ),
    			'19-20' => __( '3:00-8:00 pm', 'tribe-events-filter-view' ),
    			'20-21' => __( '8:00-9:00 pm', 'tribe-events-filter-view' ),
    			'21-22' => __( '9:00-10:00 pm', 'tribe-events-filter-view' ),
    			'22-23' => __( '10:00-11:00 pm', 'tribe-events-filter-view' ),
    			'23-24' => __( '11:00-12:00 pm', 'tribe-events-filter-view' ),
    		);
    

    I did

    
    		$time_of_day_array = array(
                            'allday' => __( 'All Day', 'tribe-events-filter-view' ),
    			'13-14' => __( '1:00-2:00 pm', 'tribe-events-filter-view' ),
    			'14-15' => __( '2:00-3:00 pm', 'tribe-events-filter-view' ),
    			'15-16' => __( '3:00-4:00 pm', 'tribe-events-filter-view' ),
    			'16-17' => __( '4:00-5:00 pm', 'tribe-events-filter-view' ),
    			'17-18' => __( '5:00-6:00 pm', 'tribe-events-filter-view' ),
    		);
    

    Because I made changes to your suggested code, are any other modifications needed within your code?

    I am asking because it is not finding some of the events. (so far, I cannot figure out why it works for some and why it doesn’t work for others)

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)