Navigation bar issue in wordpress

by setjo
0 replies
After adding disclaimer link in the navigation bar, the alignment got disturbed and it is visible once user is logged in
Complaints Against Companies or Vendors | File A Consumer Complaint |

after logged in the My complaint and logout links are visible like this

Home|Top Complaints|Contact Us|Disclaimer|My Account|
My Complaints|Logout

Here is the code of header file

<div class="header_bottom" style="padding:2px;">
<div class="header_bottom_left">
<!-- Begin Navigation -->
<div class="navigation">
<li><a href="<?php bloginfo('url');?>">Home</a>|</li>
<li><a href="<?php bloginfo('url');?>/top-complaints/">Top Complaints</a>|</li>
<li><a href="<?php bloginfo('url');?>/contact-us/">Contact Us</a>|</li>

<li><a href="<?php bloginfo('url');?>/disclaimer/">Disclaimer</a>|</li>

if ( is_user_logged_in() ) {

<li><a href="<?php bloginfo('url');?>/myaccount/">My Account</a>|</li>
<li><a href="<?php bloginfo('url');?>/mycomplaint/">My Complaints</a>|</li>
<li><a href="<?php echo wp_logout_url('index.php');?>">Logout</a>|</li>

<li><a href="<?php bloginfo('url');?>/register/">Register</a>|</li>
<li><a href="<?php bloginfo('url');?>/log-in/">Login</a>|</li>


#bar #issue #navigation #wordpress

Trending Topics