How delete "Log In" in the footer?
Permalink
I went into File Manager and changed the footer.php code. However, "Log In" is still there, and it needs to be removed because it is confusing for anyone who reads my website.
There is no obvious way to remove "Log In" from the footer. I need HELP. It is a purchased theme.
I am very appreciative for any advise or assistance you can offer.
There is no obvious way to remove "Log In" from the footer. I need HELP. It is a purchased theme.
I am very appreciative for any advise or assistance you can offer.
Thank you very much for your kind help. I am very appreciative.
Do I add that code to the css file?
Do I add that code to the css file?
Maybe you remove code in another footer?
I am also removed "Log in". It was in themes/theme_name/elements/footer.php
The following code:
I am also removed "Log in". It was in themes/theme_name/elements/footer.php
The following code:
<?php $u = new User(); if ($u->isRegistered()) { ?> <?php if (Config::get("ENABLE_USER_PROFILES")) { $userName = '<a href="' . $this->url('/profile') . '">' . $u->getUserName() . '</a>'; } else { $userName = $u->getUserName(); } ?> <span class="sign-in"><?php echo t('Currently logged in as <b>%s</b>.', $userName)?> <a href="<?php echo $this->url('/login', 'logout')?>"><?php echo t('Sign Out')?></a></span> <?php } else { ?> <span class="sign-in"><a href="<?php echo $this->url('/login')?>"><?php echo t('Sign In to Edit this Site')?></a></span> <?php } ?>
I still don't know how to remove "Log In" from the footer. I found this code in the file named footer.php:
<?php $this->inc('elements/login.php'); ?>
Is that the code that I should delete?
<?php $this->inc('elements/login.php'); ?>
Is that the code that I should delete?
The website ishttp://www.EmeraldVitamins.com
"Log In" is in the footer, in the lower right corner.
I am trying to remove "Log In" because I am not asking my readers to log in. It is a health care website. People are sick; "Log In" is confusing to them.
"Log In" is in the footer, in the lower right corner.
I am trying to remove "Log In" because I am not asking my readers to log in. It is a health care website. People are sick; "Log In" is confusing to them.
Looks like it to me. Backup a copy of the file on your pc somewhere, delete the line of code you think is responsible and then if the world begins to crumble, just replace the file with the one you backed up.
I deleted the line you mention and it worked instantly - thanks for the idea as this was becoming an irritating issue.
:)
:)
#footer-bottom #login span a { display: none; }
Hope that helps?