Daily Archive for March 28th, 2009

Adding links to the header in WP K2 theme

While using wordpress for blogging, you may have to add externel links. For example if you need a link to your flickr page, you cannot add it from the wordpress menu. I think adding external links in K2 theme of wordpress is a little bit different.

In some of the forums they will ask you to edit header.php in themes/k2/ . Or some may ask you to add an plugin. But I don’t love adding plugins too much. And I think adding external links in K2 theme of wordpress is not very hard.

STEPS

  1. Just edit the file themes/k2/app/includes/display.php
  2. Find <ul class=”menu”>
  3. Just below that add the line <li><ahref=”http://www.example.com”>EXAMPLE</a></li>
  4. Save it and referesh your page.

Do you see the new link as the first ? Just try to add the same line in other places and have your links placed as you wish….

HAPPY BLOGGING :)