• Resolved fjmroca

    (@fjmroca)


    Hi everybody,

    What can erase a player from birthday widget? If a player is died he can’t celebrate his birthday but I need the player por the historical stats.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi @fjmroca,

    You can try to use the Player Metrics for this. For example, create a new Player Metric at SportsPress->Configure->Player Metrics (lets call it Player Status). On a player that passed away, you can add to the field of “Player Status” something like “Deceased”.

    Then you can copy the birthday.php template to your-child-theme/sportspress/ folder and add an if logic that will hide all player that their “Player Status” is set to “Deceased”.

    Thanks,
    Savvas

Viewing 1 replies (of 1 total)

The topic ‘Died player’ is closed to new replies.