James

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Show events in table #28599
    James
    Participant

    Apologies Jonah, here it is: http://snippi.com/s/sg5nei7

    Thanks again for your time on this.

    in reply to: Show events in table #28528
    James
    Participant

    Thanks once again for all your help Jonah.

    Unfortunately, I can’t seem to get my venue to display. Also, how do I go about displaying custom fields?

    So say I add custom fields called “score” and “competition”, how would I add them in?

    I’ve posted my code below, sorry if I’ve done it wrong!

    [code]

    ‘all’,
    ‘posts_per_page’=>10,
    ‘tax_query’=> array(
    array(
    ‘taxonomy’ => ‘tribe_events_cat’,
    ‘field’ => ‘slug’,
    ‘terms’ => ‘fixtures’
    )
    )
    )
    );

    foreach($all_events as $post) {
    setup_postdata($post);
    ?>

    &lt;a href=&quot;"&gt;</a>
    &lt;a href=&quot;"&gt;ID, true, ‘j/m/Y’); ?&gt;</a>
    WANT VENUE HERE
    WANT SCORE HERE
    WANT COMPETITION HERE

    [/code]

    in reply to: Show events in table #28454
    James
    Participant

    Literally just to display the venue. Ideally I want to be able to display in the table…

    Date | Title | Venue

    …on each row.

    in reply to: Show events in table #28451
    James
    Participant

    That’s great, thanks!

    One last query would be how do I get the venue (and also any custom fields) to display too.

    in reply to: Show events in table #28445
    James
    Participant

    Hi Jonah,

    This looks like just what I’m looking for. However, I’ve not been able to get it working as yet. Where exactly would I need to edit to specify the category?

    I’ve created a new page template with the code within, and have tried changing a few things without any luck in getting it displayed on my site.

    Many thanks
    James

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