Support » Plugin: Football Pool » USER page, revers ordering

  • Resolved psike64

    (@psike64)


    Hi,
    How can I view the USER page, with the data history, in reverse ordering?
    I would like to see the last week of the game before, so as to immediately visualize the newest data.
    Perhaps it is only my need, can you tell me, if possible, what part of the code to change, and how?

    thank you! 😉

    The page I need help with: [log in to see the link]

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

    (@antoineh)

    There is an option in the plugin options to set the match sorting to descending. But that is a global option, not only for the User page.

    If you only want to change the User page, you can use the footballpool_user_page_matches filter to sort the array of matches that is used on the User page.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.