トップページ画像を削除。

以下の記述を削除。

<img src=”<?php echo get_settings(‘home’); ?>/wp-content/themes/aqua/images/main.png” usemap=”#menu” alt=”ホームページ制作 ご要望に応じたボタンを押してください” border=”0″>
<map name=”menu”>
<area href=”http://web-aqua.jp/homepage/286/” shape=”rect” alt=”四角形” coords=”466,21,615,78″>
<area href=”http://web-aqua.jp/homepage/325/” shape=”rect” alt=”四角形” coords=”466,125,615,181″>
<area href=”http://web-aqua.jp/homepage/331/” shape=”rect” alt=”四角形” coords=”466,230,615,287″>
<area href=”http://web-aqua.jp/homepage/333/” shape=”rect” alt=”四角形” coords=”466,330,615,388″>
</map>

サイドバーをウィジェット化。

<ul>~</ul>間に以下の記述を追記。

<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?>
(中略)
<?php endif; ?>

また、functions.phpを作成し

<?php
if ( function_exists(‘register_sidebar’) )
register_sidebar();
?>

と記述。

サイドバーから新着記事表示削除。

以下の記述を削除。

<li><h2>新着記事</h2>
<ul>
<?php $posts = get_posts(‘numberposts=5&order=desc’); ?>
<?php foreach($posts as $post) : ?>
<li><a href=”<?php the_permalink(); ?>” id=”post-<?php the_ID(); ?>”><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul>
</li>

Twitterバッジ追加。

Twitterバッジをサイドバーに追加。コードは以下の通り。

<script src=’http://www.go2web20.net/twitterfollowbadge/1.0/badge.js’ type=’text/javascript’></script><script type=’text/javascript’ charset=’utf-8′><!–
tfb.account = ‘rin_aqua’;
tfb.label = ‘follow-me’;
tfb.color = ‘#35ccff’;
tfb.side = ‘r’;
tfb.top = 136;
tfb.showbadge();
–></script>

h1部分の記述変更。

<h1><a href=”<?php echo get_settings(‘home’); ?>/”><?php bloginfo(‘name’); ?></a></h1>

これを以下のように変更。

<h1><?php bloginfo(‘description’); ?></h1>

title部分の記述を変更。

<title><?php wp_title(”); ?><?php if(wp_title(‘ホームページ制作 Web Aqua(ウェブ・アクア)’, false)) { ?> <?php } ?><?php bloginfo(‘name’); ?></title>

これを以下のように変更。

<title>
<?php if(is_page() || is_single() || is_category()): wp_title(”); endif;
if(is_month()): echo get_the_time(‘Y年n月’); endif;
if(is_day()): echo get_the_time(‘Y年n月j日’); endif;
if(is_search()): echo ‘「’.$s.’」の検索結果’; endif;
if(is_tag()): echo ‘タグ:’.wp_title(”, false).’の記事一覧’; endif;
if(wp_title(”, false))echo ‘-’; bloginfo(‘name’); ?>
</title>