We are currently in the process of building a website, but we seem to be encountering some issues with the links. Specifically, when navigating away from the homepage and clicking on the logo in the corner, we should ideally be directed back to the index.php (homepage). Here is the code snippet in question - could there possibly be an error that we are overlooking?
</a>
<div class="navbar-wrapper">
<div class="container">
<div class="navbar navbar-default navbar-fixed-top" role="navigation" id="top-nav">
<div class="container">
<div class="navbar-header">
<!-- Logo Starts -->
<a class="navbar-brand" href="index.php"><img src="image.png" alt="logo"></a>
<!-- #Logo Ends -->
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data- target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right scroll">
<li><a href="#add-mop">Add Mop</a></li>
<?php
if($ip == '****') {
echo "<li ><a href='#'>Login</a></li>";
}
?>
</ul>
</div>
</div>
</div>
</div>
</div>