Hide link from top navigation menu but want to appear in Breadcrumbs.
-
Hi,
I have 15 pages and in top navigation menu I have only 8 links.
with drop drop down menu.
I use this code:<div id="bredcrums"> <?php while ( have_posts() ) : the_post(); ?> <ul class="list-inline"><li><a href="<?php echo bloginfo( 'wpurl' ); ?>/">Home</a></li> > <li><?php the_title(); ?></li> </ul> <?php endwhile; ?> </div>
but this will only display Home > page name.
know i want to change it so it can show like that
home > page name > Page name 2
Please tell me how do it.Another question what about if want to force and show my desire page in a breadcrumbs which is not added in custom menu that how can i do it.
If any body can help will be a great for me. I am stuck in my project.
- The topic ‘Hide link from top navigation menu but want to appear in Breadcrumbs.’ is closed to new replies.