• Resolved Wootie

    (@wootie)


    Just giving this plug-in a shot for fun…appreciate you having it here!

    Generally I found it to be pretty easy to figure out – although I’m hoping there’s a way to modify how the leaderboard page appears. Like, there’s 5 columns apparently shown there…is there a way to make it not show some of them, or maybe to only show like the 1st and last columns (that would be the bracket name and it’s score)?

    https://ww.wp.xz.cn/plugins/bracketpress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sadly, there isn’t an option to hide columns. Here are the available options for the shortcode (there are a few others, but they are not used):

    [bracketpress_all_brackets orderby="score" posts_per_page="10"]

    orderby can be set to “default” or “score”. posts_per_page can be any positive integer (defaults to 10)

    Plugin Author Scott Hack

    (@scotthack)

    Yeah, David is correct.

    My best suggestion is you can actually edit the file for the tournament.

    Look toward the bottom of lib/bracketpress-shortcodes.php for this block.

    <tr class='brackets'>
                  <td width='30%' class='bracket_title'><a href='{$link}'>{$post->post_title}</a></td>
                  <td width='25%' class='bracket_user'>{$author->display_name}</td>
                  <td width='25%' class='bracket_fname'>{$author->first_name}</td>
                  <td width='10%' class='bracket_lname'>{$author->last_name[0]}</td>
                  <td width='10%' class='bracket_score'>{$score}</td>
                </tr>";

    Then just delete one of those lines to get rid of whatever you don’t want to display.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Leaderboard shortcode options?’ is closed to new replies.