How to change the navigation text in 1.2.x themes
In the old themes all I did was poke around header.php and look for the bit that spits out nav and using something like the following:
<li<?php if ( bp_is_page( BP_HOME_BLOG_SLUG ) ) : ?> class="selected"<?php endif; ?>><"<?php echo get_option('home') ?>/<?php echo BP_HOME_BLOG_SLUG ?>" title="<?php _e( 'Blog', 'buddypress' ) ?>"><?php _e('YOURLABELNAME', 'buddypress' ) ?><>
Which I got from WPMU dev(http://premium.wpmudev.org/forums/topic/premium-buddy-press-themes), and it worked fine.
Now with the new 1.2.x parent theme I don’t se the same thing instead I see the following in header.php:
<body <?php body_class(); ?>>
<div id="header" role="banner">
<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
Wheres does the nav div get generated and how do I change the text associated with the nav items. I have already changed my post slugs, now I want the text displayed to match the post slug
- The topic ‘How to change the navigation text in 1.2.x themes’ is closed to new replies.