hide free content

Discussion in 'Setting-up protection' started by lovepainandlatex, Jan 7, 2022.

  1. lovepainandlatex

    lovepainandlatex aMember Pro Customer

    Joined:
    Dec 14, 2021
    Messages:
    6
    In wordpress blog posts i have videos, (the vids streaming from a diferent server, bunny.net useing the presto player).
    For all non paying users (guest and user) i wana show a preview vid. And for all paying members the preview should be hiden or replaced with the full lengtht video. Im strugling with the AM4 restriction stuff. I can restrict but i can't hide blocks or posts from members. I also tried Shortcodes like [am4show not_have='p2;p3;' ][/am4show] in tht HTML editor. But it don't work or i'm doing complete wrong?
    I know this can't be so hard :/ Thanks for any help.
  2. lovepainandlatex

    lovepainandlatex aMember Pro Customer

    Joined:
    Dec 14, 2021
    Messages:
    6
    Ah meanwhile i figured it out... in Gutenberg editor i need to put the shortcode betwheen two lines.
    <!-- wp:shortcode -->
    [am4show have='p2;p3;' ]
    <!-- /wp:shortcode -->
    It just want work if i wrote it as a single line. LOL programing logic.
    How ever...

Share This Page