• I have about 9 pages on my site, and many of the pages have long titles, say 5 words or more.

    This is much too long to fit in my navbar at the top. Is there any way I can change the anchor text in the navbar to show just one word (like “intro”, “step 1”, “step 2”, etc) instead of the whole title?

    Here is the code from my navbar:

    <div id="navbar">
    
    	<div class="navbarleft">
    		<?php bloginfo('description'); ?>
    	</div>
    
    	<div class="navbarright">
    		<ul>
    			<?php wp_list_pages('title_li=&depth=1'); ?>
    		</ul>
    	</div>
    
    </div>

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Show something instead of title in navbar’ is closed to new replies.