Support » Plugin: Profile Builder - User Profile & User Registration Forms » restrict content doesn’t work

  • Resolved happysusan

    (@happysusan)


    Hi- this doesn’t work

    [wppb-restrict display_to=”not_logged_in” message=” “]
    Aenean quis arcu eleifend, tincidunt ligula quis, laoreet lectus.
    [/wppb-restrict]

    people who are logged in or out can still see it

    essentially I am trying to hide the login button I have created for those who are logged in but it doesn’t work

    The link to the bottom right login (once logged in you should not be able to see the login button but you can

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @happysusan,

    The shortcode is working on my end. Did you copy and paste the shortcode? Or did you type it manually from the keyboard? Can you please try typing it from the keyboard? Sometimes when you copy and paste the shortcode, the wrong quotes are added.

    Please let me know how this goes.

    Thread Starter happysusan

    (@happysusan)

    I copied and pasted from your help file- yes I pasted into the html not the visual builder but it never worked

    instead I gave it a class and added
    .logged-in .loginbutton{
    display: none !important;
    }

    thats the only thing that worked

    Thread Starter happysusan

    (@happysusan)

    SO here it is not working
    https://www.staging4.kidsmagicworld.com.au/test-42/

    here is the video showing you how I edited the page and showing what it looks like when logged in and when not logged in.

    Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @happysusan and David,

    You are able to see the content because you are logged in as an admin. The administrator role bypass the content restriction functionality including the restrict shortcode. In order to check the content restriction functionality please use dummy users/ guest users.

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