dammert89
Forum Replies Created
-
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Player List – Icons?Okay. Came right. Put in a switch statement in player-list.php `foreach( $labels as $key => $label ):
if ( $key !== ‘number’ && ( ! is_array( $columns ) || $key == ‘name’ || in_array( $key, $columns ) ) )
switch ($label) {
case “YC”:
$output .= ‘<th class=”data-‘ . $key . ‘”><img src=”/wp-content/uploads/2015/04/icon_lc_yellow.png” alt=”YC” style=”width:80%”></th>’;
break;
case “RC”:
$output .= ‘<th class=”data-‘ . $key . ‘”><img src=”/wp-content/uploads/2015/04/icon_lc_red.png” alt=”RC” style=”width:80%”></th>’;
break;
default:
$output .= ‘<th class=”data-‘ . $key . ‘”>’. $label . ‘</th>’;
}
endforeach;
`Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Fixtures/ResultsAjax Plugin works for me. No need for the dates anymore
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Problem with Rookie TemplateI found a fix. If you edit the rookie template – content.php look for the following lines
<?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. the_post_thumbnail( 'large' ); } ?>
And remove it all. None of your other posts will have thumbnails on though. Try it for your site. It works on mine
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Problem with Rookie TemplateSame problem on my website. https://www.bolandclubrugby.co.za, Is there a fix yet?
Forum: Plugins
In reply to: [Calculated Fields Form] fieldname in label or descriptionThanks. and if I want the fieldname to show up as the label for another field? Like replacing “Choose your info for <%fieldname10%>” to show “Choose your info for 2015”. But in the label/description area