Game Prediction
Get predictions about a fixture.
API Documentation - https://www.api-football.com/documentation-v3#tag/Predictions
How to Import Predictions
Go to the "FL API Import" >> "Settings"
In the "Game Predictions" section set "Get game predictions from API" to "YES".
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.
Import Settings: Show prediction in Match List
Set to "YES" to show Prediction Advice in the list of games
Import "Under / Over", "Home Goals" & "Away Goals" predictions
How to Translate Predictions
You can find all translatable strings under "Settings & Tools" >> "Text Options" >> "Prediction" section.
How to Add Game Prediction (Team Comparision) section
Create a Game layout using Layout Builder and add "Match :: Prediction" section.
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"]
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.
Customer support service by UserEcho