Hide contact form for unregistered

  • wilfredo
    wilfredo
    Newbie
     
    8 points

    1) Hello I want to know how to hide contact form in widget for unregistered, I have used the following code and I have put it in footer script and it does not work for me.

    <script>
    if (!jQuery(“.logged-in”)[0]){
    jQuery(‘#ContactForm2’).parent().hide();
    }
    </script>

    2) I also want to know how to display a registry button for unregistered users and hide for registered users.

    In this case the button would have the following text (Apply this job) The button would direct to the registration form.


    wilfredo
    wilfredo
    Newbie
     
    8 points

    Please someone can help me


    Josh
    Josh
    Super Guru
     
    13,888 points

    Hello Alfred,
    Q1.Please provide site link
    Q2.Please go to Theme Setup >Top Navigation >Turn ON ‘Login/Logout Buttons’
    You can change the Register button text under Theme Setup >Language Setup >Search text


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.