Football Pool
Add pagination to matches page (2 posts)

  1. SolohunteR
    Posted 2 years ago #

    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


  2. AntoineH
    Plugin Author

    Posted 2 years ago #


    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Football Pool
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.