Compare commits
2 Commits
master
...
91b572ab75
| Author | SHA1 | Date | |
|---|---|---|---|
|
91b572ab75
|
|||
|
8fb86314eb
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* Plugin Name: SportsPress
|
||||
* Plugin Name: Tony's SportsPress
|
||||
* Plugin URI: http://themeboy.com/sportspress/
|
||||
* Description: Manage your club and its players, staff, events, league tables, and player lists.
|
||||
* Version: 2.7.17
|
||||
@@ -12,9 +12,9 @@
|
||||
* Text Domain: sportspress
|
||||
* Domain Path: /languages/
|
||||
*
|
||||
* @package SportsPress
|
||||
* @package TonysSportsPress
|
||||
* @category Core
|
||||
* @author ThemeBoy
|
||||
* @author Tony
|
||||
*/
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
|
||||
@@ -253,6 +253,7 @@ $identifier = uniqid( 'eventlist_' );
|
||||
$reverse_teams = get_option( 'sportspress_event_reverse_teams', 'no' ) === 'yes' ? true : false;
|
||||
if ( $reverse_teams ) {
|
||||
$main_results = array_reverse( $main_results, true );
|
||||
$teams = array_reverse( $teams, true );
|
||||
}
|
||||
|
||||
$teams_output = '';
|
||||
@@ -282,9 +283,9 @@ $identifier = uniqid( 'eventlist_' );
|
||||
endif;
|
||||
|
||||
if ( $link_teams ) :
|
||||
$team_output = '<a href="' . get_post_permalink( $team ) . '" itemprop="url">' . $name . '</a>';
|
||||
$team_output = '<span class="team-'.$t .'"><a href="' . get_post_permalink( $team ) . '" itemprop="url">' . $name . '</a></span>';
|
||||
else :
|
||||
$team_output = $name;
|
||||
$team_output = '<span class="team-'.$t .'">'.$name.'</span>';
|
||||
endif;
|
||||
|
||||
$team_result = sp_array_value( $main_results, $team, null );
|
||||
|
||||
Reference in New Issue
Block a user