Luo Yang greatly assisted us with setting up this page:
hidden link
This page is built using these two views:
hidden link
hidden link
I wanted to request getting support from Luo Yang on this ticket since he is already familiar with everything done here.
The first view provides all the data for the javascript added to the page to use with the second view to get the final display. The first view results have display:none; styling added so they won't display on the page, but will still be present to be utilized by the javascript.
I have tried to add a taxonomy filter to the second view to allow end users to select the Tournament/League they would like to see. But the taxonomy filter is appearing under every session on the page instead of just once at the top of the page.
I am fully understanding why this is happening. The page shows the view multiple times, broken down by session as follows:
<h3>Morning - 3.0</h3>
[wpv-view name="teams-posts-by-session" session="Morning - 3.0"]
<h3>Morning - 3.5</h3>
[wpv-view name="teams-posts-by-session" session="Morning - 3.5"]
<h3>Morning - 4.0+</h3>
[wpv-view name="teams-posts-by-session" session="Morning - 4.0+"]
<h3>Afternoon - 3.0</h3>
[wpv-view name="teams-posts-by-session" session="Afternoon - 3.0"]
<h3>Afternoon - 3.5</h3>
[wpv-view name="teams-posts-by-session" session="Afternoon - 3.5"]
<h3>Afternoon - 4.0+</h3>
[wpv-view name="teams-posts-by-session" session="Afternoon - 4.0+"]
So when I add the taxonomy filter to the view, it's going to show it every time the view is displayed on the page. I understand this.
My question is to see if there is any way to add the taxonomy filter to only display once above these session/view displays and have the filter apply to all instances of the view on the page.
If this is not possible, then my workaround will have to be to set up new pages/views duplicating everything done here for every tournament/league. I don't think I'd have any trouble doing this, but it will make our Views admin section VERY crowded over time. So if a filter can be added to this single page, that would be very much preferred. Any advice/help you can offer on this would be greatly appreciated. Getting this functionality to where it can handle multiple tournaments/leagues is my final step in the process of setting up EVERYTHING needed for this site to have Teams, Matches, Schedule , Results, Standings overall, and Standings by Round functionality.
I'm currently going through all the Views that have been set up to achieve everything and trying to add this taxonomy filter capability to everything. I have it working on the Teams, Matches, Schedule and Results functionality. But I can see that the getting this on the Standings overall page that Luo Yang helped with and the Standings by Round pages that Minesh is helping with is going to be more difficult because of the complex approaches that were needed to get these pages working. I hope this can be done, but understand if it can't.