WordPress.org

Ready to get started?Download WordPress

Forums

Football Pool
Add pagination to matches page (2 posts)

  1. SolohunteR
    Member
    Posted 4 months 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

    https://wordpress.org/plugins/football-pool/

  2. AntoineH
    Member
    Plugin Author

    Posted 4 months ago #

    Hi,

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.