Hide contact form for unregistered

WordPress Business Themes Forums General Discussion Hide contact form for unregistered

Hide contact form for unregistered

September 16, 2017
wilfredo wilfredo
  • 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.

    September 16, 2017 at 9:58 am
  • wilfredo
    wilfredo
    Newbie 8 points

    Please someone can help me

    September 16, 2017 at 6:54 pm
  • Josh
    Josh
    Super Guru 13,887 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

    September 18, 2017 at 12:24 pm
Viewing 3 posts - 1 through 3 (of 3 total)

Didn't find what you were after?

Chat with us now

or contact our support team