Hide Stats for Offense/Defense (goalie)
-
First off, I think this is a great addition to sportspress, so thank you for that!
I’m curious to know if there is a way to hide stats for players that don’t belong to the performances position (ie: defensive stats only visible on defensive players pages and offensive stats only visible for offensive players)
Example – Player A is forward and Player B is defense (Goalie on my site)
Player A has the following performances
Goals (G)
Assists (A)
Points (PTS)Player B has:
Goals (G)
Assists (A)
Goals Against (GA)
Goals Against Avg (GAA)Regular player pages from sportspress profile page will not show the defensive (in this case, Goalie performances) stats such as Goals Against and Goals Against Avg. Which is perfect.
However, when you use the individual game stats plugin, it doesn’t hide the GA and GAA performances – which will show up blank for all players – offensive and defensive alike.
Is there a way to have this plugin hide performances that don’t belong to the type of player being viewed? Offensive player will only have offensive performances visible and the defensive (goalie in my case) performances will be hidden/not shown?
- The topic ‘Hide Stats for Offense/Defense (goalie)’ is closed to new replies.