WordPress.org

Ready to get started?Download WordPress

Forums

External Link on tabs? (5 posts)

  1. themafia69
    Member
    Posted 8 years ago #

    I wanted to add a tab at the top of my blog to another part of my site that has nothing to do with my blog (a gallery) how do i do that?

  2. petit
    Member
    Posted 8 years ago #

    Your tabs are an unordered list in your header.php file:
    <ul class="menu">
    <li class="current_page_item"><a href="http://www.kush.ca">Blog</a></li>
    <li class="page_item"><a href="http://www.kush.ca/?page_id=2" title="About">About</a></li>
    <li class="page_item"><a href="http://www.kush.ca/?page_id=3" title="Archives">Archives</a></li>
    <li class="page_item"><a href="http://www.kush.ca/?page_id=6" title="Contact Me">Contact Me</a></li>
    <li class="admintab"><a href="http://www.kush.ca/wp-register.php">Register</a></li> </ul>

    You just need to add a new <li> element inside the <ul>, like this:
    <li class="page_item"><a href="myotherplace/">MyOtherPlace</a></li>

  3. themafia69
    Member
    Posted 8 years ago #

    well im using k2 so i dont see any of that in the header in the main directory or int he k2 theme folder header file

  4. Kafkaesqui

    Posted 8 years ago #

    If an answer is not forthcoming on the issue here you may have better luck at the k2 community support forums:

    http://getk2.com/forum/

  5. themafia69
    Member
    Posted 8 years ago #

    well i got it to work, but i just wanted it to be in a different order, because it uses one line of code for all the pages and the register button a different one, so it put it after all the pages, thats ok ill maybe ask on getk2, when the final version is out thanks for the help guys

Topic Closed

This topic has been closed to new replies.

About this Topic