• I have a fixture list / calendar list on my site. However, all it shows is the Date, Event, Time and Venue. There is no option to add the “league”.

    Reason being is I run the site for the league committee and we need a list of the fixtures as a calendar so we can see what matches are on any given day. It would be good if we could have a column where we can add “League”. This would give something like:-

    Date | League | Event | Time | Venue
    30/09/14 Division 1 Red vs Blue 19:00 Stadium Arena

    Does anyone know if this is possible?

    I don’t want to create separate fixture calendars for each league as there are 9 leagues so would not be great.

    https://www.ads-software.com/plugins/sportspress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I would like to know if this option is possible also. Currently manage a football academy site so can have multiple fixtures on the same day so would like to include league to help differentiate the fixtures.

    Hello, Yes i have made this trick to put the league in the fixture.
    Open the file located in sportspress/template/event-list.php.
    After the variable $video = get_post_meta( $event->ID, ‘sp_video’, true ); add the following variable $leagues = get_the_terms( $event->ID, ‘sp_league’ );

    Add the following code where the table is generated (for example before “if ( $usecolumns == null || in_array( ‘event’, $usecolumns ) ) “)

    foreach ( $leagues as $league ):
    echo ‘<td class=”data-league”>’ . $league->name . ‘</td>’;
    endforeach;

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add League Name to Fixture List’ is closed to new replies.