Skip to main content

How to add club sign-up to your WordPress website

Use the clubs, club-button, club-wizard and my-memberships shortcodes to list your clubs, add Join buttons, guide people through a club sign-up wizard and show members their memberships.

List all your clubs

[withwine type='clubs' /]

Add a Join button for one club

[withwine type='club-button' data_club_id='CLUB ID' /]

The button says Join to non-members and lets existing members update their membership. You can change it with these options:

  • data_jointext='Join the Ridge Club' and data_updatetext='Update my membership' change the button text.

  • data_showif or data_hideif with member, nonmember, loggedin or loggedout shows or hides the button, for example data_hideif='member'.

  • data_bottlequantity='6' pre-selects the number of bottles.

  • data_chargeinterval='3' pre-selects how often the member is charged, in months. Twice a year is 6.

  • data_selectedoptionid pre-selects a club option.

To show a login link to logged-out visitors instead of the button:

[withwine type='club-button' data_club_id='CLUB ID' data_hideif='loggedout' /]
[withwine type='conditional-content' data_showif='loggedout' data_action='login' data_text='Log in to join the club' /]

Add a club sign-up wizard

The club wizard asks people to choose their club options, for example red or white wine, and shows a Summary of the club, number of bottles, how often and their choices. They then click Complete My Membership to join:

[withwine type='club-wizard' data_club_id='CLUB ID' /]

  • You can replace the wizard's images with your own, using data_bottleQuantityImageUrl, data_chargeIntervalImageUrl, data_clubOptionsImageUrl and data_numberOfSelectionsImageUrl.

  • For system-initiated clubs, you can delay a new member's first order with data_startdelaymonths, data_startdelaydays, data_startdelayhours or data_startdelayminutes.

Show members their memberships

[withwine type='my-memberships' /]

  • data_notAMemberMessage="You're not a member of any of our clubs yet." changes the message for logged-in customers who aren't members.

  • data_updateButtonText changes the Update button text.

  • data_autoRedirectIfSingle='true' takes members of only one club straight to that club's update page.

Where to find a Club ID

In WithWine, go to Settings > Clubs and click the club. The Club ID is shown at the top right of the page, for example ID: 389.

Related articles

Did this answer your question?