Loop categories with AND/OR operator
-
Hello,
This is probably the most basic question, I’m new to this plugin, but I have a custom post type called “roster item” and each roster item uses categories to be categorized in BOTH a sport AND a season, and I’d like to return results for a specific sport AND a specific season, on the roster page. Something like:
-
[loop type=roster_item category=7+12]
- #[field basketball_player_number] | [field title-link] | pos: [field basketball_player_position] | height: [field player_height] | from [field player_hometown] | graduated from [field player_high_school]
[/loop]
So that when the season ends, I can change 12 to 13 and get the current roster, eliminating any players that are no longer playing.
I searched through the forums a bit, but I wasn’t sure if this question has been asked anywhere yet. Does anyone know how I could pull this off?
The page I need help with: [log in to see the link]
- The topic ‘Loop categories with AND/OR operator’ is closed to new replies.