2011-07-19 9 views
0

私は以下のナビゲーションメニューを持っています。私の質問は、異なるクラスを持つ各ナビアイテムのため、どのようにWordpress(コードワイズ)でこれを行うのでしょうか。このナビゲーションはfront-page.phpに置かれます。このナビゲーションはどのように行いますか?

コード:

<div id="nav"> 
      <div class="grid_4_home hoverable"> 
       <a href="index.html"><h3>Home <span class="lucida">&raquo;</span></h3></a> 
      </div> 

      <div class="grid_4 hoverable"> 
       <a href="expertise.html"><h3>My Expertise <span class="lucida">&raquo;</span></h3></a> 
      </div> 

      <div class="grid_4_about hoverable"> 
       <a href="about.html"><h3>About Us <span class="lucida">&raquo;</span></h3></a> 
      </div> 

      <div class="grid_4 hoverable"> 
       <a href="testimonials.html"><h3>Testimonials <span class="lucida">&raquo;</span></h3></a> 
      </div> 

      <div class="grid_4 hoverable"> 
       <a href="reports.html"><h3>Case Reports <span class="lucida">&raquo;</span></h3></a> 
      </div> 

      <div class="grid_4_last hoverable"> 
       <a href="contact.html"><h3>Contact Us <span class="lucida">&raquo;</span></h3></a> 
      </div> 
     </div> <!-- end of nav --> 
+0

ナッシングそのままコピーアンドペーストするのを止めています。 –

答えて

0

まっすぐにあなたのテーマフォルダにあるフロントpage.phpファイルにコードを追加します。いずれかのphp echo?>との緊密なPHPでそれを行う、あなたのHTMLを挿入し、<?php

してPHPを再度開き、[編集]はstyle.cssとそれにあなたがあなたのクラスのために必要がある場合があります任意の追加のCSSコードを置く。..

関連する問題