Amember & Wordpress Shortcodes

Discussion in 'Integration' started by benfitts, Feb 29, 2012.

  1. benfitts

    benfitts aMember Pro Customer

    Apr 10, 2008
    I have a question about using aMember 4 AM Shortcodes with Wordpress.

    My client has a bunch of pages he wants protected but he doesn't just want an error message to appear. He wants a block of text to appear (for SEO purposes this means Google can see some text and index the pages.)

    My client has setup his site to use AM Shortcodes to easily say what sections he wants to show to members and what section should show to guests.

    Now here's the problem. We just added a second product group. Members who buy product A won't have access to product B.

    If we were using the aMember Protection GUI this would be easy to say which product groups can access the page. Unfortunately we have setup an entire series of pages using shortcodes.

    Is there a shortcode I can use like [am4show] textblock [/am4show] but instead allows me to pass in either a list of products or a product group?

    Is there something to do like [am4show group=1]only product group 1 can see this text[/am4show]
  2. davidm1

    davidm1 aMember User & Partner

    May 16, 2006
    Yeah, cant you use
    [am4show have='g1;' guest_error='guests' user_error='expired' ]
    protected content[/am4show]

    Set your guest error message to display the list of products.


Share This Page