Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Jun 7th, 2010  |  syntax: None  |  size: 0.29 KB  |  views: 170  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. in header.php find <ul id="nav"> and add the following snippet after <?php wp_list_pages(); ?> and before ending </ul>
  3. <?php if ( is_user_logged_in() ) : ?>
  4. <li class="new_post"><a href="" title="Add New Post">Add New Post</a></li>
  5. <?php endif; ?>
clone this paste RAW Paste Data