• Resolved angelo079

    (@angelo079)


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

    Whatever you put as a parameter in this shortcode, it always seems to display nothing?

    Any idea how to get this shortcode working? It seems like it’s exactly what i need

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

    (@antoineh)

    The shortcode will only output a form for players in the pool. Most probably your (admin) user is not a player.

    If you view the HTML source of the page, you’ll notice an empty <span> with CSS class not-a-valid-user. You can add some content to this span via CSS to show a warning (if you like).

    The other option is that there are no next matches, but I guess you already checked this. Also, in that case there will be an empty <span> with CSS class no-next-match.

      Thread Starter angelo079

      (@angelo079)

      Right.. that made sense! Only thing i can see now is that the amount of games parameter doesn’t seem to do anything. I always see 1 game only. Is this a bug?

      Plugin Author AntoineH

      (@antoineh)

      It’s not a bug. The num parameter will only limit the form when there are multiple games in the next match data set. And this only happens when multiple games start at the same time.

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