Title: Predict matches weakly
Last modified: August 31, 2020

---

# Predict matches weakly

 *  Resolved [cardosonash](https://wordpress.org/support/users/cardosonash/)
 * (@cardosonash)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/predict-matches-weakly/)
 * Hi again Antoine! Is there any way to only show matches from next week.. so that
   the prediction page shows only matches that are going to be played this weekend,
   even ho the full schedule has been loaded.. im working on an NFL prediction site

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/predict-matches-weakly/#post-13341427)
 * Yes, that is possible. There is a manual way and an automatic way. But the latter
   requires some programming (but I have an example).
 * You can do it manually by placing matches in match types (one match type per 
   weekend). A match type has a value to indicate if it should be shown on the website.
   You can set all match types to hidden except for the first weekend. After every
   weekend you would have to hide the match type for previous weekend and make the
   next one visible.
 * There is also an automatic way because the matches can be filtered via PHP. There
   is a hook in the code that you can use for this. I made a quick example (download
   [here](https://www.dropbox.com/s/2o91ebl61rs57wb/football-pool-only-matches-this-weekend.php?dl=0))
   based on the [only shows open matches](https://wordpress.org/support/topic/extension-plugins-for-the-football-pool-plugin/#post-8998122)
   extension. Not sure if it completely fits your requirements, but it is a simple
   example on how to filter the matches based on dates (timestamps) and maybe you
   can alter it to your specific needs.
    -  This reply was modified 5 years, 8 months ago by [AntoineH](https://wordpress.org/support/users/antoineh/).
    -  This reply was modified 5 years, 8 months ago by [AntoineH](https://wordpress.org/support/users/antoineh/).
 *  Thread Starter [cardosonash](https://wordpress.org/support/users/cardosonash/)
 * (@cardosonash)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/predict-matches-weakly/#post-13341627)
 * you.
    are. the. MAN. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Predict matches weakly’ is closed to new replies.

 * ![](https://ps.w.org/football-pool/assets/icon-256x256.png?rev=983880)
 * [Football Pool](https://wordpress.org/plugins/football-pool/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/football-pool/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/football-pool/)
 * [Active Topics](https://wordpress.org/support/plugin/football-pool/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/football-pool/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/football-pool/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [cardosonash](https://wordpress.org/support/users/cardosonash/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/predict-matches-weakly/#post-13341627)
 * Status: resolved