@gold-dollar Assuming this is for the single event template, here are some code snippets to extract data needed to display results and performance:
// Get event. Do this first.
$event = new SP_Event( get_the_ID() );
// Get player performance. Returns array.
$performance = $event->performance();
// Get team results. Returns array.
$results = $event->results();
sry, but may be i miss something? not working, i couldnt display players by:
$player1
$player2 etc.
one more queston.
there is no content on event page “site/event”
on preveous version there was a list of events
@gold-dollar Players are delivered as a multidimensional array, so you’ll need to loop through that array for each player. Some PHP knowledge is required for this.
Could you show me an example of the event page where content is missing?