I am making av site that lists events.
The client can make events by custom post types where they can write some info about the events.
I then use the Advanced Custom Fields to decide when the event should take place.
The event hides if it's older than todays date.
But now to the problem...
I can't seem to make this work in my taxonomy.php. I have tried 3 things here:
1. Insert the same query as in events.php (see code above).
Result: It only lists everything exactly as in events.php witch I don't want. I only want to view the taxonomy I clicked on...
2. I remove the the post_type => Events in the query.
Result: It does'nt show anything.
3. I take away the whole query.
Result: The taxonomy works but the events are listed in the order I posted them. Not in the order the events are going to take place.
Is it possible to write a query in taxonomy.php at all? And how will I make this work?