Game Prediction

Premium Version Only
Predictions are available only to customers who use API Import

Get predictions about a fixture. 
API Documentation - https://www.api-football.com/documentation-v3#tag/Predictions


Image 10237

How to Import Predictions

Go to the "FL API Import" >> "Settings"

Image 10239


In the "Game Predictions" section set "Get game predictions from API" to "YES".

Image 10240

Import Settings: Prediction Data To Import

Text Advice: import only text Prediction Advice.

Text Advice + Comparison: import the data needed to display the Game Prediction section, including Team Comparison information.

Image 10241

Import Settings: Show prediction in Match List

Set to "YES" to show Prediction Advice in the list of games

Image 10242

Import "Under / Over", "Home Goals" & "Away Goals" predictions

Image 10243

How to Translate Predictions

You can find all translatable strings under "Settings & Tools" >> "Text Options" >> "Prediction" section.

Image 10245

How to Add Game Prediction (Team Comparision) section 

Create a Game layout using Layout Builder and add "Match :: Prediction" section.


Image 10246

How to Add Game Prediction (Team Comparision) section to any Post

Use the Match shortcode to add a Prediction section to any page or post.

[anwpfl-match match_id="<put_your_game_ID>" sections="predictions" show_header="0" section_header="0"]

Image 10247

Image 10248

Performance - Delay JavaScript loading

By default, the plugin delays loading the prediction JavaScript file until user activity or a timeout due to the heavy Echarts library. 

Image 10249