Forum Replies Created
Viewing 7 posts - 1 through 7 (of 7 total)
-
AuthorPosts
-
Our Saviors Church
ParticipantI 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 10 years, 6 months ago by
Our Saviors Church.
Our Saviors Church
ParticipantBeautiful! Thanks!
Our Saviors Church
ParticipantHey 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 Church
ParticipantSomething like this: https://gist.github.com/tstrebeck/7089733
?
Our Saviors Church
Participantand that’s all within get_terms ();
Our Saviors Church
Participantsorry it hid the code:
$taxonomies = array( ‘tribe_meta_event_tags’);
$args = array();Our Saviors Church
ParticipantSo would I call it like this?
-
This reply was modified 10 years, 6 months ago by
-
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)
