Hello. Just yesterday I installed WordPress 3.0.4 on our EPN server. Once I installed the “Disable Canonical URL Redirection” plug-in, everything is now working great for the most part.
I am currently tweaking the default TwentyTen theme a bit. I would like to add two additional links right next to the “Home” and “About” links that are located below TwentyTen’s header image. These links will not go to other pages created with WordPress; rather, one will go to an external HTML doc which is the home page for our main site. The other link will go to a “Contact Us” cgi script that is in our cgi-bin. I want these two new links to appear on all pages, along with the “Home” and “About” links.
I have looked at a few other threads here, but still haven’t quite figured out how to implement this simple feature. I’ve also looked at some of the PHP files, and suspect that I need to add the links in TwentyTen’s “header.php” file, in this section:
`<div id=”access” role=”navigation”>
<?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
<div class=”skip-link screen-reader-text”><a href=”#content” title=”<?php esc_attr_e( ‘Skip to content’, ‘twentyten’ ); ?>”><?php _e( ‘Skip to content’, ‘twentyten’ ); ?></a></div>
<?php /* Our navigation menu. If one isn’t filled out, wp_nav_menu falls back to wp_page_menu. The menu assigned to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
<?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) ); ?>
</div><!– #access –>
</div><!– #masthead –>
</div><!– #header –>`
Undoubtedly, it is a simple thing to implement, but I am a total newbie to WordPress, and pretty much to PHP as well, so any assistance would be greatly appreciated.
Hello “govpatel”. Thank-you for your response. I have just searched for “child theme” here on the WordPress site, and I am in process of reading about it.
I just made a text file containing all of the tweaks that I have made thus far, and there are already eleven of them, with all of them being in the TwentyTen theme, and one in the “wp-includes/post-template.php”, so I am sure that your suggestion regarding a “child theme” is a good idea.
Regarding “custom menus”, I haven’t even begun to explore or study that issue yet. But let me ask you: Being as I only want to add two links to the links that already exist below TwentyTen’s header image, do I really need to create an entirely new custom menu? Isn’t there an easier way to just add the two additional links that I need next to “Home” and “About”?