Users predictions shortcode

Example of the shortcode [world-cup-predictor scores=n] to display users predictions for a particular match. The value of n specifies the match id required.

To display the scores for all completed matches use [world-cup-predictor scores=-1]

As an option supply the highlight attribute to apply any CSS style to the currently logged in users entry. For example, [world-cup-predictor scores=13 highlight="background:red"]

These results are just a demo, not real results.

First group A match.

User South Africa 11 Mexico Points
Football Manager211
player1121

First Quarter final.

User Netherlands 21 Brazil Points
player12112
Player Two000
This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to Users predictions shortcode

  1. Akshay Kumar says:

    Hey,

    Nice plugin. Here is 1 problem with it, the teams in each group are arranged in a specific order because of the way they were drawn. For example in Group A the hosts should be the first team, in B it’s Argentina. Take a look:

    http://www.fifa.com/worldcup/standings/index.html