Support » Plugin: Football Pool » Add pagination to matches page

  • Hello Football-pool users i have few questions that i would be very thankful if someone help me

    1) how to add pagination to matches page

    1.1) limiting the number of matches per page

    2) php code (not short codes) to add certain match types in custom pages

    3) filter match types per team

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Plugin Author AntoineH



    Sorry, I totally missed this post. To answer your questions:

    1. Current version doesn’t have the ability to easily add pagination to the matches page. It would require some code changes in the class for the page. It’s doable, but I wouldn’t recommend changing the inner parts of the plugin.
    But version 2.4.0 will have two hooks that you can use in the same way as the example for the ranking in the help file.

    2. You can use the [fp-matches] shortcode together with the do_shortcode function of WordPress.

    3. For this you would have to write your own function and query on the database. As the plugin does not have anything for this.

Viewing 1 replies (of 1 total)
  • The topic ‘Add pagination to matches page’ is closed to new replies.