• Resolved thecountyhub

    (@thecountyhub)


    Hi,

    Firstly Antoine, thanks for this plugin, I’ve been looking for something like this for a long time and appreciate the effort you have put into this!

    I had a quick question for you (or maybe another user). I am creating a page and using the following shortcode:

    [fp-next-match-form num=”2″]

    I am expecting it to show the next 2 matches but for some reason it only shows the next 1 match. Is this an issue with this shortcode or something I’m doing wrong. I have 3 future dated matches in my match listing.

    Appreciate any thoughts you may have!

    Thanks

    Simon

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AntoineH

    (@antoineh)

    Hi,

    I understand that this might be a bit confusing, but the shortcode only shows the next match. Only for cases where there are multiple matches that start at the same time, the num parameter will have an effect.

    Example

    If your match schedule is:

    • Match A at 20:00
    • Match B at 20:00
    • Match C at 22:00

    Then:

    • [fp-next-match-form] will show a form for Match A and Match B (since they start at the same time).
    • [fp-next-match-form num=1] will only show Match A (or whichever is first internally).
    • [fp-next-match-form num=3] will show Match A and Match B (since they start at the same time). But not Match C, as it is not considered as a next match. The next match starts at 20:00, and in this example there are 2 matches starting at the same time (this is the next match group). Match C is not part of that group. So, it will not show Match C, even though it’s the next match after A & B.

    Hope this helps.

    Thread Starter thecountyhub

    (@thecountyhub)

    Understood! Thanks for the quick response

    Simon

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

The topic ‘Issue with [fp-next-match-form] Shortcode’ is closed to new replies.