This is not supported in this plugin. Pick ’em style style prediction is on my wishlist for a future version, but you’ll have to wait for that.
At the moment there are a couple of options:
- Change the plugin to match your wishes.
- Let users fill in 1 for the winner and 0 for the losing team.
- Use a piece of javascript to change the prediction form to a pick ’em style layout. I once made something for another user, see code below as an example.
Don’t know which one will work for you.
// pick'em style predictions (v2.3.8 and below)
jQuery( document ).ready( function() {
jQuery( 'table.matchinfo.input tr' ).filter( function() {
$this = jQuery( this );
return $this.attr( 'id' ) && $this.attr( 'id' ).substr( 0, 5 ) === 'match';
} )
.each( function() {
selected = 0;
jQuery( 'td.score', this ).each( function( index ) {
$this = jQuery( this );
value = $this.text();
if ( value == '' && $this.children().length > 0 ) {
$this.siblings( '.home, .away' )
.css( 'cursor', 'pointer' )
.bind( 'click', function() {
$this = jQuery( this );
team = $this.attr( 'class' ); // home or away
$this.siblings( '.score' ).find( 'input[name^="_' + team + '"]' ).val( '1' );
$this.siblings( '.score' ).find( ':not(input[name^="_' + team + '"])' ).val( '0' );
$this.css( 'font-weight', 'bold' ).css( 'color', 'orange' );
$this.siblings( ':not(.' + team + ')' ).css( 'font-weight', 'normal' ).css( 'color', '' );
} );
value = jQuery( 'input', this ).val();
}
selector = ( index == 0 ) ? '.home' : '.away';
if ( value == '1' ) $this.siblings( selector ).css( 'font-weight', 'bold' )
.css( 'color', 'orange' );
$this.hide();
} );
} );
jQuery( 'table.matchinfo.input' ).show();
} );