dan

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Customize display of events list widget #13251
    dan
    Member

    awesome, thanks again.

    And I assume I can grab today’s date using php’s date() function, store it in a variable and then use that with start_date so it always grabs “today” ?

    in reply to: Customize display of events list widget #13170
    dan
    Member

    How do I pass the start_date and end_date into tribe_get_events? can you show an example of that? the basic tribe_get_events query needed to pull in events with today’s start date? the rest of it I can handle.

    in reply to: Customize display of events list widget #13166
    dan
    Member

    ok great thanks that helps. I can just use wp_query and call what I want then and treat it as any other custom post type.

    in reply to: Customize display of events list widget #13107
    dan
    Member

    hi thanks here is the link

    http://gteh.ca/yorkregion

    it’s below the headline post.

    here is the code I’m using:

    [code]

    <li >

    <?php
    $space = false;
    $output = '';
    echo '’ . tribe_get_start_date( $post->ID, $start ) . ”;

    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);
    }
    }
    ?>

      

    &lt;a href=&quot;"&gt;post_title ?&gt;</a>

    [/code]

Viewing 4 posts - 1 through 4 (of 4 total)