• Resolved Chip

    (@chip_88)


    Hi there!

    Does someone have an idea, how we can make just the time visible in posterboard view?!

    It’s a little bit senseless to have the date block on the right and then to have the date again on the left…

    So how can we get just the time on posterboard, but not the date, please?!

    Thanks in advance!
    Chipy

    https://wordpress.org/plugins/all-in-one-event-calendar/

Viewing 5 replies - 1 through 5 (of 5 total)
  • We apply a filter to that so you should use that. Look at file app/view/event/time.php method get_timespan_html

    return apply_filters(
    			'ai1ec_get_timespan_html',
    			$output,
    			$event,
    			$start_date_display
    		);
    Thread Starter Chip

    (@chip_88)

    Hi Nicola!

    Tried your code, but it doesn’t work (cleaned the ai1ec cache).

    There are no changes.

    Do you have any further ideas?!

    Thanks in advance,
    Chipy

    Hi, you must add/edit the code.
    I would add a filter.
    I was just showing you the filter you must hook into.

    Hi, you must add/edit the code.
    I would add a filter.
    I was just showing you the filter you must hook into and the parameters that it receives

    Thread Starter Chip

    (@chip_88)

    Hey Nicola!

    I don’t understand exactly, how to change the code given by you:

    return apply_filters(
    			'ai1ec_get_timespan_html',
    			$output,
    			$event,
    			$start_date_display
    		);

    Can you give me an further advice, please?!

    Thanks in advance!
    Mark

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How to remove date from posterboard?!’ is closed to new replies.