add home and away labels in post edit
This commit is contained in:
@@ -29,6 +29,21 @@ class SP_Meta_Box_Event_Teams {
|
||||
$team = array_shift( $teams );
|
||||
?>
|
||||
<div class="sp-instance">
|
||||
<p>
|
||||
<strong>
|
||||
<?php
|
||||
if ($i==0){
|
||||
echo esc_attr__("Home");
|
||||
}
|
||||
elseif ($i==1){
|
||||
echo esc_attr__("Away");
|
||||
}
|
||||
else {
|
||||
echo esc_attr__("Team") . " " . ($i +1);
|
||||
}
|
||||
?>
|
||||
</strong>
|
||||
</p>
|
||||
<p class="sp-tab-select sp-title-generator">
|
||||
<?php
|
||||
$args = array(
|
||||
|
||||
Reference in New Issue
Block a user