Support » Plugin: Football Pool » Pagination by Match Types

  • Resolved viviwp


    Hi AntoineH,
    Happy to see your great efforts on this plugin.
    I have installed your pagination plug-in, it does the job.
    And as of now, the plug-in displays the matches on each page by the number of matches. (By default it’s 10 matches in your plug-in).
    How can we display the matches on the basis of “Match Types” on each page?

    Such a way that,
    The first page displays all the matches of the “Group stage”
    The next page displays “Round of 16”
    Then the next page displays “Quarter-finals”
    then “Semi-finals”
    And at the end “Final”

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AntoineH


    This can only be done by writing your own extension. The example pagination filters based on a number (it slices the array), but I think you can also filter the array based on match type. But haven’t tried it before.

    Another option is to create your own pages (or use a tabs plugin) and use the shortcodes to display the matches.

    Thread Starter viviwp


    Yeah perfect. That’s what I am looking for!
    I would like to have your assist in creating the new filter as an extension or some code snippet for replacing the current pagination filters.

    I am a beginner at coding 🙂

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pagination by Match Types’ is closed to new replies.