Forum Replies Created
-
AuthorPosts
-
James
ParticipantApologies Jonah, here it is: http://snippi.com/s/sg5nei7
Thanks again for your time on this.
James
ParticipantThanks 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);
?><a href=""></a>
<a href="">ID, true, ‘j/m/Y’); ?></a>
WANT VENUE HERE
WANT SCORE HERE
WANT COMPETITION HERE[/code]
James
ParticipantLiterally just to display the venue. Ideally I want to be able to display in the table…
Date | Title | Venue
…on each row.
James
ParticipantThat’s great, thanks!
One last query would be how do I get the venue (and also any custom fields) to display too.
James
ParticipantHi 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 -
AuthorPosts
