How to remove sign in/sign up buttons from header

This topic contains 4 replies, has 2 voices, and was last updated by  Alex Rollin 6 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #408846

    Joshua Dobbs
    Expired Member
    Post count: 90

    I am trying to remove the login/ sign up buttons that appear in the header when user is not logged in.

    I copied header.php from the whoop theme into my active theme located at Themes > GeoDirectory_whoop > geodirectory.

    I then deleted the following else statement, saved and uploaded it but I still see the buttons when i’m not logged in. I have cleared gd booster cache several times but no luck. Did I do something wrong?

    
    
     <?php } else {
          ?>
              <div class="whoop-account">
                  <ul class="whoop-signup-btns">
                      <li>
                          <a href="<?php echo apply_filters('geodir_signup_reg_form_link', geodir_login_url(array('signup'=>true))); ?>" class="whoop-btn whoop-btn-primary whoop-signup-btn">
                              <?php echo __('Sign Up', GEODIRECTORY_FRAMEWORK); ?>
                          </a>
                      </li>
                      <li>
                          <a class="whoop-login-btn" href="<?php echo geodir_login_url(); ?>">
                              <?php echo __('Log In', GEODIRECTORY_FRAMEWORK); ?>
                          </a>
                      </li>
                  </ul>
              </div>
          <?php
          }?>
    #408863

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #408868

    Joshua Dobbs
    Expired Member
    Post count: 90

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #408870

    Joshua Dobbs
    Expired Member
    Post count: 90
    This reply has been marked as private.
    #408935

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket