Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi anandchawla,

    There is no need to put any shortcodes around content that you want shown to non-logged-in visitors. You could just put the following:

    Show to non logged members
    [restricted] show to only logged members [/restricted]

    This way, the first line will show to everyone and the second line will only show to those logged in.

    Thread Starter anandchawla

    (@anandchawla)

    Hi

    But when a user is loggged in
    I dont want to show the text which is for non logged

    In short only one text is shown depending on logging status

    Let me knownpla

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi anandchawla,

    In that case, something similar to what you had originally should work. Could you try the following?

    [restricted no_message='Yes' block_logged_in='Yes']Content for those who are not logged in[/restricted]
    
    [restricted]Restricted content goes here[/restricted]

    The “no_message” attribute will prevent that first shortcode from showing the message that says the person needs to log in.

    Thread Starter anandchawla

    (@anandchawla)

    Hi
    it doesnt work..i get blank…no info…
    it should show the content for non logged in users..
    please check

    http://www.plushplaza.com/newsite/products/

    It shows message Please login twice….and after that just login username password…it should show my default content which i haven inside the brackes of [restricted no_message=’Yes’ block_logged_in=’Yes’]Content for those who are not logged in[/restricted]

    please help..all work is stuck

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi anandchawla,

    That should definitely work. Could you please let us know which version of the plugin you are using? If you’re not using the latest, please update and try again.

    Thread Starter anandchawla

    (@anandchawla)

    thanks
    it is working after updating.
    regards

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Restricted Logged in user’ is closed to new replies.