Wordpress: how to get a page tab to redirect to another blog?

Is there a way to get a page tab in wordpress to be redirected to another blog? If not how can i get a button on my wordpress site to go to a blog? Thanks in Advance!

Public Comments

  1. I don't know of any way to do this just from the page options available, but it's usually pretty easy to edit your theme to add this tab. In the admin tool, go to the Presentation section, then to the Theme Editor sub-section. The part you want to edit is the Main Index Template. Once you have this open, you should see something like the following code a few lines down: <li class="page_item current_page_item"><a href="<?php bloginfo('url'); ?>/" title="Homepage">Home</a></li> At the end of that line, press Enter to create a new line below it, and paste in the same code. You can then edit the new tab to show the link you want inside of the double quotes ("") for href, the title (not used much), and the text you want on your tab. <li class="page_item current_page_item"><a href="http://example.org" title="My Other Blog">My Other Blog</a></li> The 'class' section at the beginning also effects how your tab is styled. This will vary depending on what theme you're using, but in general you remove the part (the parts are separated by spaces) that has 'current' in it because that part is what highlights the tab and lets you know you're on this page. In my case, the code I added would then look like: <li class="page_item"><a href="http://example.org" title="My Other Blog">My Other Blog</a></li> Be sure to click Update File at the bottom to save your changes! Now from any of your blog posts, you should be able to see that tab. (Note: if you want this tab to appear after any other generated tabs, add this code a line later after the wp_list_pages section instead.) Unfortunately, if you already have other tabs for pages on your blog, there's still another step to get to get this tab added when you're on a Page instead of a blog post, but it's pretty easy once you've gotten this far. Just take the code you've just written it and copy it into the same area for Page Template. With both of these templates edited, you're good to go! Be sure to save again, and check out your updated tabs.
Powered by Yahoo! Answers