Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    You could change the date optin in your general settings. Alternatively you can use the shortcode tags: http://wp-event-organiser.com/documentation/shortcodes/event-list-shortcode/

    Thread Starter jpollie

    (@jpollie)

    I have looked everywhere in the general settings i cant find it.
    Also its not in the shortcode list.

    Could you please give more details.

    Greetings

    Plugin Author Stephen Harris

    (@stephenharris)

    WordPress has a date format option on Settings > General.

    Alternatively, you can specify the format of the date as its displayed in the event list shortcode by using ‘tags’. Details and examples are provided on the page I linked to.

    Thread Starter jpollie

    (@jpollie)

    Dear Stephen Harris,

    First of all thank you for your fast reply!

    I really cant figure it out it seems like rocket science to me.
    Only thing i want is to hide the on date and year.
    Can you please help me getting the shortcode.

    I am using this
    [eo_events event_start_before=now event_category=agenda no_events="Geen agendapunten vandaag." showpastevents=false]

    What do i have to add? something like showdate=false?

    I have tried to work with

    [eo_events] <a href="%event_url%">%event_title%</a> [/eo_events]

    this will hide the date.
    But then i don’t know how to show only the today events, hide past events, and a message to display if they are no events matching the query.

    really hope you can help. thank you

    Thread Starter jpollie

    (@jpollie)

    Maybe you can help me with changing the code to hide the year?

    Removing

    $format = ( eo_is_all_day() ? $date_format : $date_format.' '.$time_format );

    will delete all date and year i would like to hide the year

    //For non-all-day events, include time format
    				$format = ( eo_is_all_day() ? $date_format : $date_format.' '.$time_format );
    			?>
    
    			<li class="<?php echo esc_attr(implode(' ',$eo_event_classes)); ?>" >
    				<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" ><?php the_title(); ?></a> <?php echo __('on','eventorganiser') . ' '.eo_get_the_start($format); ?>
    			</li>
    
    		<?php endwhile; ?>
    
    	</ul>
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide Year and data from list’ is closed to new replies.