Twenty Ten テーマのヘッダーに広告を挿入する。
Twenty Ten テーマがバージョンアップするたびに修正場所を探すのに苦労するのでメモを残す。
場所はheader.phpの106行目の後に挿入する。
<?php /* Our navigation menu. If one isn’t filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
<div align=center>
</div>
<?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) ); ?>
</div>
</div>
</div>
<div id="main">
結果は
綺麗に出来ました。