Support » Plugin: Event Organiser » shortcode-event-list.php edit help

  • Hello,

    i use the plugin for list-view of events:
    [eo_events venue=”%this%” event_start_after=”now” event_category=”category1″]

    So I Get the events in a list:
    17. November 2017 21:30 Event1-Test
    19. November 2017 11:15 Event2-Test
    24. November 2017 21:30 Event3-Test

    In the file shortcode-event-list.php i made following change to use table-view:

    <?php while ( $eo_event_loop->have_posts() ) : $eo_event_loop->the_post(); ?>

    //Generate HTML classes for this event
    $eo_event_classes = eo_get_event_classes();

    //For non-all-day events, include time format
    $format = eo_get_event_datetime_format();



    <td><?php echo eo_get_the_start( $format ); ?></td>
    <td>“> <?php the_title(); ?> </td>
    <td>????????????????what must hier be inside??????????????</td>

    <?php endwhile; ?>

    So now my youestin is what i have to put in the marked area to get information about the category of the event. If possiple i`d like to use the catogery-color.

    I found following function, but I’m not so good in php:
    eo_get_category_color( $term_id )

    I hope you can give me 5 mintues for help.

    Thanks alot before!!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘shortcode-event-list.php edit help’ is closed to new replies.