0
Answered

pagination

tiennam1010 12 months ago in Match updated by Andrei S. (Developer) 12 months ago 3

How to use pagination?

Need Clarification

Please clarify, where you want the pagination.

I want to pagination my fixtures and results.


[anwpfl-matches competition_id="" show_secondary="0" season_id="" type="fixture" limit="20" date_from="" date_to="" stadium_id="" filter_by_clubs="" filter_by_matchweeks="" days_offset="" sort_by_date="asc" sort_by_matchweek="" group_by="" group_by_header_style="" show_club_logos="1" show_match_datetime="1" competition_logo="1"]

Thanks.

Answered

You can split matches by MatchWeek and then put every MatchWeek in a separate tab, for example.

////

<tab1>

[anwpfl-matches competition_id="" show_secondary="0" season_id="" type="" limit="20" date_from="" date_to="" stadium_id="" filter_by_clubs="" filter_by_matchweeks="1" days_offset="" sort_by_date="asc" sort_by_matchweek="" group_by="" group_by_header_style="" show_club_logos="1" show_match_datetime="1" competition_logo="1"]

</tab1>

<tab2>

[anwpfl-matches competition_id="" show_secondary="0" season_id="" type="" limit="20" date_from="" date_to="" stadium_id="" filter_by_clubs="" filter_by_matchweeks="2" days_offset="" sort_by_date="asc" sort_by_matchweek="" group_by="" group_by_header_style="" show_club_logos="1" show_match_datetime="1" competition_logo="1"]

</tab2>

...

/////

Tab tag is just schematic example. Check your theme documentation, maybe it has tabs shortcode. Or check WP repo.

/////

P.S.: Premium Version has MatchWeek Slider - https://anwppro.userecho.com/knowledge-bases/2/articles/167-matchweeks-slides-shortcode