I have the following code
<li class="nav-item dropdown">
<a title="Ver Mensualidades" class="nav-link dropdown-toggle" href="mensualidades.php" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-money-bill-alt fa-fw"></i> Mensualidades <span data-toggle="popover" title="Mensualidad Detectada" data-content="Se ha detectado un pago de Mensualidad, pendiente de conformacion." class="badge badge-light"><?php suma_mensualidad();
echo $pendiente_mensualidad; ?></span>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a title="Mensualidades por Aprobar" class="dropdown-item" href="mensualidades.php"><i class="fa fa-money-check fa-fw"></i> Mensualidades por Aprobar</a>
<a title="Ver Todas las Mensulidades" class="dropdown-item" href="todas_mensualidades.php"><i class="fa fa-list-alt fa-fw"></i> Ver todas las Mensualidades</a>
</div>
</li>
I would like that by clicking on the parent MENSUALIDADES link, I will be taken to the website mensualidades.php and in this way I will be able to delete it from the dropdown that I have, leaving only the link SEE ALL THE MONTHS that would take me to the web: all_mesualities .php.
I'm working with Bootstrap 4.