Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ThemeBoy

    (@themeboy)

    A workaround for this is to add a new Result called “Penalty Kicks” via SportsPress Settings > Event Results > Add New. Be sure to set a high number as the “Order” so that it shows up last in the Results table ??

    Thread Starter Knut23

    (@knut23)

    OK, thanks! Hmm, wont this become a bit messy in the table? People might think that the penalties should be added to the goal count. A parenthesis around penalty goals?

    Plugin Author ThemeBoy

    (@themeboy)

    Good point. The main issue with this is that we’d have to change the behavior of the results table by adding an exception. We generally try to avoid exceptions because we want the plugin to be easy to configure for any sport ??

    SportsPress is actually designed to use custom templates if you add them to a folder called “sportspress” in your theme. For example, an “event results” template in Twenty Fourteen would be in wp-content/themes/twentyfourteen/sportspress/event-results.php

    If a template file is found, SportsPress will use it instead to display that part of the template. You could make a copy of the same file from the templates folder in SportsPress and tweak it to work into your theme.

    Hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Suggestion: Keep track of penalty kicks’ is closed to new replies.