add home and away labels in post edit

This commit is contained in:
2024-01-20 16:10:56 -06:00
parent 91b572ab75
commit ccc6c1877d

View File

@@ -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(