Forum Replies Created
Viewing 7 posts - 1 through 7 (of 7 total)
-
AuthorPosts
-
Our Saviors ChurchParticipant
I think I fixed it myself, but I’d love to verify with someone that this is the best way to do this.
<?php global $post; $events = tribe_get_events( array( 'eventDisplay' => 'upcoming', 'posts_per_page' => 1, 'tribe_events_cat' => 'lafayette', 'tag' => 'step-one' ) ); foreach ( $events as $post ) { setup_postdata( $post ); echo tribe_get_start_date($event, '', 'F j'); } ?>
- This reply was modified 8 years, 6 months ago by Our Saviors Church.
Our Saviors ChurchParticipantBeautiful! Thanks!
Our Saviors ChurchParticipantHey Brook, it appears that it’s still pulling events with either the category or the tag, not from events from the category and the tag. Here’s my shortcode:
[tribe_events_list tags="growth-track" category="opelousas" operand="AND"]
Our Saviors ChurchParticipantSomething like this: https://gist.github.com/tstrebeck/7089733
?
Our Saviors ChurchParticipantand that’s all within get_terms ();
Our Saviors ChurchParticipantsorry it hid the code:
$taxonomies = array( ‘tribe_meta_event_tags’);
$args = array();Our Saviors ChurchParticipantSo would I call it like this?
-
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)