<?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>Baliプロジェクト &#187; functions.php</title>
	<atom:link href="http://bali.to/archives/tag/functionsphp/feed" rel="self" type="application/rss+xml" />
	<link>http://bali.to</link>
	<description>ソフトウェアの研究所</description>
	<lastBuildDate>Wed, 09 Dec 2009 00:24:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>functions.phpを利用する</title>
		<link>http://bali.to/archives/27</link>
		<comments>http://bali.to/archives/27#comments</comments>
		<pubDate>Tue, 02 Dec 2008 10:15:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPressの工房]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[関数]]></category>

		<guid isPermaLink="false">http://bali.to/?p=27</guid>
		<description><![CDATA[Wordpressに希望関数を追加したり、あるファイルを読み込みしたりしたい場合、Wordpressエンジンを修正して、行う人がすくなくないでしょう。Wordpressエンジンをアップデートしたときに、修正された箇所は維持できなくなる恐れがありますので、テンプレートにfunctions.phpを利用すれば、エンジンをアップデートしても安全です。
functions.phpの役割は色々ありますが、例として述べてみます。まず、ファイルを呼び出すためのものです。特定PHPファイルを呼び出したい場合、このfunctions.phpファイルを利用すれば簡単に実現できます。そのためにエンジンをアップデートしてもテンプレートは変更されないかぎり、問題はありません。
それから、関数を追加することもこのfunctions.phpを利用することができます。エンジンに新関数を追加するよりもテンプレートにこのファイルを利用して、関数を追加することができます。functions.phpファイルはないテンプレートは多いかと思いますが、正しい利用方法を行えば、自分のブログも管理しやすくなれます。試してみては？
]]></description>
		<wfw:commentRss>http://bali.to/archives/27/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
