This topic has 1 reply, 2 voices, and was last updated 8 years by Radu.

  • Author
  • #138150
     creamundo
    Participant

    Hi,

    In the past I used paid membership pro wich has a shortcode “[membership] Hiden content [/membership]” and I need something similar to put the search box in the side menú (in the config panel) but only for logged users.

    Is there any Kleo shorcode or workarround to make this?

    #138183
     Radu
    Moderator

    Hi,

    There is no quick solution to achieve that but this :

    When a user it’s logged the body elements will have this class : logged-in ; and when you don’t are logged in the class will be removed, so you should get the search element id or class and to hide it !

    Then using this selector you will display the search element only for logged in users.

    Examples:
    .searcheelementname {display:none;}
    .logged-in .searcheelementname { display:block !important; }

    You should figure what to do from there.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?