Putting upcoming events inside a table

Home Forums Calendar Products Events Calendar PRO Putting upcoming events inside a table

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18101
    Micah
    Participant

    I want to put my upcoming events inside a table, I edited events-advanced-list-load-widget.php. I put my code like this:

    ID, $start, ‘n/j/y’ );

    if($event->AllDay && $start) {
    echo ‘ (‘.__(‘All Day’,’tribe-events-calendar-pro’).’)’;
    } else {
    if ( $end && $event->EndDate != ”) {
    echo ” . __(‘Ends’, ‘tribe-events-calendar-pro’) . ‘ ‘;
    echo tribe_get_end_date($post->ID, ‘j/n/y’);
    }
    }
    ?>

    But this makes this in html:

    So its looping through the element as well.
    Where can I put this bit of code so that just the and ‘s are looped. Thanks

    #18148
    Rob
    Member

    Hey Micah. Thanks for reaching out. Not sure about this myself, but our dev Jonah may have some ideas. I’ve asked him to take a look when he hits the forums later today…stay tuned.

    #18180
    Jonah
    Participant

    Hi Micah, can you post a cleaner version of your code somewhere else like on Pastie.org or Pastebin? Paste the code and the HTML there so I can see what you’re getting. What do you mean by “just the and’s are looped”?

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Putting upcoming events inside a table’ is closed to new replies.