Closed ThemeBoy closed 3 years ago
Can't believe it's been almost 4 years AND THERE'S NO PROGRESS IN THIS. I bought this plugin thinking it would have an exporter feature since I have to export almost 300 matches and lots of teams. Is there any solution for this? @ThemeBoy
@dukuo i find easy solution:
All work :)
Would really like to be able to export my team rosters to share with captains. Is there any progress on this?
In the meantime if you have access to the database and are comfortable w/ SQL I've whipped up this script that will give you the basics:
select distinct
teams.post_title as "team_name",
players.post_title as "player_name"
from wp_posts players
join wp_postmeta team_meta on players.id = team_meta.post_id
join wp_posts teams on team_meta.meta_value = teams.id
where
players.post_type = "sp_player"
and team_meta.meta_key = "sp_current_team"
order by
team_name,
player_name
There is a PR for this https://github.com/ThemeBoy/SportsPress/pull/401
Events, teams, players, and staff can be imported via CSV. We need to add exporters (for backups and transferring data the other way)