• Resolved af3

    (@af3)


    Hi, just realized that the plugin doesnt display final scores after penalty. Is there a way to display this in the score?
    For example the SUI vs FRA game, the score is put 3 – 3 in order to calculate the toto score. We can of course get bonus points if there is a linked question, but it is not displaying the final penalty goals score in matches page or prediction / stats pages.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AntoineH

    (@antoineh)

    There is not really a clean way to do this because the database does not have fields to store the data.

    A quick&dirty way around it: add the content via CSS. You can select the specific match card via the match ID and then do something like
    #element-selector:after { content: "SUI wins 4-5 after penalties"; }.

    Thread Starter af3

    (@af3)

    Yes, that works, and thanks for providing the matchid on this page. Perhaps in future, can add this as a feature?

    Btw the statistic page doesnt have match id for css ??

    Plugin Author AntoineH

    (@antoineh)

    Perhaps in future, can add this as a feature?

    I’ll check if it is easy to add without breaking old versions. And without being a football-only solution. Don’t want to make too many exceptions in the code (it already is a mess ??).

    Adding ID to the statistics page shouldn’t be too difficult. I’ll check tonight.

    Plugin Author AntoineH

    (@antoineh)

    In next version (v2.10.0) I will add match ID as a class to the H2 and table tag of the view=matchpredictions of the statistics page, e.g.: class="match-3" for match with ID 3.

    If you don’t want to wait, replace the following file ‘/classes/class-football-pool-statistics.php’ with this one.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display Penalty scores’ is closed to new replies.