<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HASの庭 &#187; テーマ</title>
	<atom:link href="http://has.s321.xrea.com/tag/theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://has.s321.xrea.com</link>
	<description>発酵to熟成の道</description>
	<lastBuildDate>Sun, 12 Nov 2023 15:30:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress2.7 404ページのカスタマイズ</title>
		<link>http://has.s321.xrea.com/memo/wordpress/97/</link>
		<comments>http://has.s321.xrea.com/memo/wordpress/97/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 05:04:15 +0000</pubDate>
		<dc:creator>HAS</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[XREA]]></category>
		<category><![CDATA[テーマ]]></category>

		<guid isPermaLink="false">http://has.s321.xrea.com/?p=97</guid>
		<description><![CDATA[
テーマ標準の404ページ（ページが見つかりません）は、そのままではいけませんので、自サイト版へカスタマイズしてみます。
※ご参考にされる場合は、環境により読み替えてご理解ください。
環境及びバージョン
・WordPre [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://has.s321.xrea.com/wp-content/uploads/2009/12/line_01.gif" alt="line" title="line"　width="450" height="1" class="aligncenter size-full wp-image-383" /></p>
<p>テーマ標準の404ページ（ページが見つかりません）は、そのままではいけませんので、自サイト版へカスタマイズしてみます。<br />
※ご参考にされる場合は、環境により読み替えてご理解ください。</p>
<p><strong>環境及びバージョン</strong><br />
・WordPress: 2.7.1<br />
・テーマ: iNove 1.2.3</p>
<p><span id="more-97"></span><strong>404ページをカスタマイズ</strong><br />
・「管理ページ」の左メニュー「外観」→「編集」をクリックする。<br />
・右側の「404テンプレート」をクリックする。<br />
・ここで編集できるのですが、念のためにメモ帳などで内容をバックアップしておいてください。</p>
<p><strong>404テンプレート（iNoveの例）</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">&lt;?php
//----------
$SITE_USER='あなたのアカウント名';
$SITE_NAME='サイト名';
$SITE_HREF='サイトトップのURL';
$SITE_IMG='http://farm3.static.flickr.com/2114/2303427067_c817d7fb51_m.jpg';
$e404_TTL='404 NOT FOUND';
$e404_MS1=&quot;指定されたURLは存在しません。&lt;br /&gt;
URLが間違っているか、ファイルが移動した可能性があります。&lt;br /&gt;
誠に恐れ入りますが、トップページよりお探しください。&quot;;
$e404_MS2=&quot;$SITE_NAME&lt;br /&gt;
&lt;a href=\&quot;$SITE_HREF\&quot;&gt;$SITE_HREF&lt;/a&gt;&quot;;
$BANNER=''
//----------
?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;
&nbsp;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head profile=&quot;http://gmpg.org/xfn/11&quot;&gt;
	&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;&lt;?php bloginfo('html_type'); ?&gt;; charset=&lt;?php bloginfo('charset'); ?&gt;&quot; /&gt;
&nbsp;
	&lt;title&gt;&lt;?php bloginfo('name'); ?&gt;&lt;?php wp_title(); ?&gt;&lt;/title&gt;
	&lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;&lt;?php _e('RSS 2.0 - all posts', 'inove'); ?&gt;&quot; href=&quot;&lt;?php echo $feed; ?&gt;&quot; /&gt;
	&lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;&lt;?php _e('RSS 2.0 - all comments', 'inove'); ?&gt;&quot; href=&quot;&lt;?php bloginfo('comments_rss2_url'); ?&gt;&quot; /&gt;
&nbsp;
	&lt;!-- style START --&gt;
	&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo('template_url'); ?&gt;/404.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
	&lt;!-- style END --&gt;
&nbsp;
	&lt;?php wp_head(); ?&gt;
&lt;/head&gt;
&nbsp;
&lt;body&gt;
&nbsp;
&lt;div id=&quot;container&quot;&gt;
&lt;?php if(isset($SITE_NAME)){ echo &quot;&lt;center&gt;&lt;strong&gt;&quot;.$SITE_NAME.&quot;&lt;/strong&gt;&lt;/center&gt;&lt;br /&gt;&quot;; } ?&gt;
	&lt;div id=&quot;talker&quot;&gt;
		&lt;a href=&quot;&lt;?php echo $SITE_HREF; ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo $SITE_IMG; ?&gt;&quot; alt=&quot;&lt;?php _e(&quot;$SITE_USER&quot;, 'inove'); ?&gt;&quot; /&gt;&lt;/a&gt;
	&lt;/div&gt;
	&lt;div id=&quot;notice&quot;&gt;
		&lt;h1&gt;&lt;?php _e(&quot;$e404_TTL&quot;, 'inove'); ?&gt;&lt;/h1&gt;
		&lt;p&gt;&lt;?php _e(&quot;$e404_MS1&quot;, 'inove'); ?&gt;&lt;/p&gt;
		&lt;p&gt;&lt;?php _e(&quot;$e404_MS2&quot;, 'inove'); ?&gt;&lt;/p&gt;
		&lt;div class=&quot;back&quot;&gt;
			&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;/&quot;&gt;&lt;?php _e(&quot;$SITE_NAME &amp;raquo;&quot;, 'inove'); ?&gt;&lt;/a&gt;
		&lt;/div&gt;
		&lt;div class=&quot;fixed&quot;&gt;&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;fixed&quot;&gt;&lt;/div&gt;
&lt;?php if(isset($BANNER)){ echo &quot;&lt;br /&gt;&lt;center&gt;&quot;.$BANNER.&quot;&lt;/center&gt;&quot;; } ?&gt;
&lt;/div&gt;
&nbsp;
&lt;/body&gt;
&lt;/html&gt;</pre></td></tr></table></div>

<p>※基本的にソース上部へ変数の宣言を追加し、既存の部分にはその変数を表示するように書き換えただけです。</p>
<p><strong>補足説明</strong><br />
・1-16行目 &#8211; 変数の宣言<br />
 ※あくまでも例ですので、環境にあわせて書き換えてください。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">$SITE_IMG = あなたのイメージ画像のURL（表記はテーマのデフォルトのままです）
 $BANNER = XREA等の場合は、ここへ広告タグを貼り付ける。</pre></td></tr></table></div>

<p>・37行目 &#8211; 上部のサイト名<br />
・39行目 &#8211; 左側のサイト管理者画像<br />
・42行目 &#8211; タイトル<br />
・43行目 &#8211; エラーメッセージ<br />
・44行目 &#8211; サイト説明<br />
・51行目 &#8211; 広告バナー</p>
<p><del datetime="2009-12-17T02:59:05+00:00"><a href="/none-page/" target="_blank">こんな感じになりました。</a></del><br />
※デザイン的にあまりよくないかもしれませんが、、</p>
<p>それでは、では、(^_^)\~</p>
<p>(2022/01/29) コメントスパムが多くなりましたので、コメントの投稿を一時無効にしました。</p>
]]></content:encoded>
			<wfw:commentRss>http://has.s321.xrea.com/memo/wordpress/97/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress2.7 テーマの設定</title>
		<link>http://has.s321.xrea.com/memo/wordpress/43/</link>
		<comments>http://has.s321.xrea.com/memo/wordpress/43/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 17:33:02 +0000</pubDate>
		<dc:creator>HAS</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[XREA]]></category>
		<category><![CDATA[テーマ]]></category>

		<guid isPermaLink="false">http://has.s321.xrea.com/?p=43</guid>
		<description><![CDATA[
それでは、WordPressのテーマを設定したいと思います。
サーバー環境
レンタル業者: XREA
Apache: 1.3.37
PHP: 5.2.5
MySQL: 5.1.22
WordPressテーマディレクトリ [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://has.s321.xrea.com/wp-content/uploads/2009/12/line_01.gif" alt="line" title="line"　width="450" height="1" class="aligncenter size-full wp-image-383" /></p>
<p>それでは、WordPressのテーマを設定したいと思います。</p>
<p><strong>サーバー環境</strong><br />
レンタル業者: <a title="XREA" href="http://www.xrea.com" target="_blank">XREA</a><br />
Apache: 1.3.37<br />
PHP: 5.2.5<br />
MySQL: 5.1.22</p>
<p><span id="more-43"></span><a title="WordPressテーマディレクトリ" href="http://wordpress.org/extend/themes/" target="_blank">WordPressテーマディレクトリ</a>で色々と物色してみましたが、今回は以下の理由で「<a title="iNove" href="http://wordpress.org/extend/themes/inove" target="_blank">iNove</a>」にしてみました。<br />
・現時点で一番人気があった。（ミーハー？）<br />
・デフォルトでメニューやサイドバーの表示をカスタマイズできたりする。<br />
・投稿下部のカテゴリとタグの表示がよろしい。<br />
・投稿最下部に前や次の投稿へのリンクがある。（これは、なかなかない）<br />
・新しいテーマなので色々なプラグインに対応している模様。（未確認ですが…）</p>
<p><strong>テーマのダウンロード</strong><br />
<a title="WordPressテーマディレクトリ" href="http://wordpress.org/extend/themes/" target="_blank">WordPressテーマディレクトリ</a>の「<a title="iNove" href="http://wordpress.org/extend/themes/inove" target="_blank">iNove</a>」のページより[Download]をクリックするとダウンロードが始まります。</p>
<p><strong>テーマのアップロード(バリュードメインのXreaの場合）</strong><br />
・ファイルマネージャで「wp-content/themes」へ移動する。<br />
・[アップロード]をクリックする。<br />
・圧縮ファイル側の[参照]をクリックし先ほどダウンロードしたテーマのzipファイルを選択する。<br />
・[Submit]して[Back]をクリックする。</p>
<p>・「inove(テーマ名)」ディレクトリを選択して[属性変更]をクリックする。<br />
・[属性値]を「707」にする。<br />
・[Submit]して[Back]をクリックする。</p>
<p><strong>テーマの設定</strong><br />
・WordPress管理ページのサイドメニューより[外観]をクリックする。<br />
・利用可能なテーマに[iNove(テーマ名)]があるのでクリックする。<br />
・さらに「iNove」の場合は「Current Theme Options」が利用できます。</p>
<p>以上でテーマの設定が終わりました。<br />
サイトを表示して確認してみます。綺麗なテーマですね！</p>
<p>それでは、またです。(^_^)/~</p>
]]></content:encoded>
			<wfw:commentRss>http://has.s321.xrea.com/memo/wordpress/43/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
