Plugin Contributor
Roch
(@rochesterj)
HI there!
Thanks for reaching out.
That’s an interesting idea. We don’t have an option for this. @savvasha, do you know if there’s an easy way to edit the plugin files to change this?
Thanks!
Plugin Contributor
Savvas
(@savvasha)
Hi there @picolli ,
Unfortunately this is more complicated than it shows.
The function that printout the selection list is sub_select()
which is defined at wp-content/plugins/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php
at line 555
.
You can try to manipulate this function in a way that suits you, but take notice that those changes are not update persistent. So you need to make them again every time an update of SportsPress is done.
Thanks,
Savvas
Thanks for reaching out, guys. It worked, but not fully as expected.
Now all players from the match shows the substitute ‘up arrow’ next to their names, but I expected this to show only to players that started on the bench (as it does with the original code and setting manually the Substitutes and the dropbox to ’empty’)
Plugin Contributor
Roch
(@rochesterj)
Hi there!
If you are a Pro customer, please get in touch with our premium support. We can check this a bit more there 🙂
Thanks!