Support » Plugin: Event Organiser » Remove repeating event information from Event Details

  • Hello,

    When viewing an event, I want to hide or remove only the line that describes the repeating event details… “This event is running from 17 September 2018 until 16 September 2019. It is next occurring on September 24, 2018 10:30 am” Everything I try removes all of the event details, and I don’t want to do that. Can you help me with this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • guillermovargasquisoboni

    (@guillermovargasquisoboni)

    Hello msusans,

    You need to copy the file event-meta-event-single.php from the plugins/eventorganiser folder and paste it into your own theme folder.

    The piece of code that is creating this line is this one :

    <?php if ( $next ) : ?>
    			<!-- If the event is occurring again in the future, display the date -->
    			<?php printf( '<p>' . __( 'This event is running from %1$s until %2$s. It is next occurring on %3$s', 'eventorganiser' ) . '</p>', eo_get_schedule_start( 'j F Y' ), eo_get_schedule_last( 'j F Y' ), $next );?>
    
    		<?php else : ?>
    			<!-- Otherwise the event has finished (no more occurrences) -->
    			<?php printf( '<p>' . __( 'This event finished on %s', 'eventorganiser' ) . '</p>', eo_get_schedule_last( 'd F Y', '' ) );?>
    		<?php endif; ?>

    You can erase this piece of code and it should work.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove repeating event information from Event Details’ is closed to new replies.