<?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>mono-lab &#187; generator</title>
	<atom:link href="http://www.mono-lab.net/tag/generator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mono-lab.net</link>
	<description>Wordpressのテンプレート・プラグイン・カスタマイズ情報サイト</description>
	<lastBuildDate>Thu, 19 Jan 2012 16:20:12 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>WordPressの＜head＞内にあるmeta情報をカスタマイズ</title>
		<link>http://www.mono-lab.net/wordpress-customize/62/</link>
		<comments>http://www.mono-lab.net/wordpress-customize/62/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 14:05:25 +0000</pubDate>
		<dc:creator>mono-lab</dc:creator>
				<category><![CDATA[WordPress カスタマイズ]]></category>
		<category><![CDATA[テンプレート関係]]></category>
		<category><![CDATA[generator]]></category>

		<guid isPermaLink="false">http://www.mono-lab.net/62.html</guid>
		<description><![CDATA[WordPress の&#60;head&#62;内には以下のようなmeta情報が自動的に表示されます。 &#60;link rel="EditURI" type="application/rsd+xml" title="RS [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress の&lt;head&gt;内には以下のようなmeta情報が自動的に表示されます。</p>
<pre class="brush:php">&lt;link rel="EditURI" type="application/rsd+xml" title="RSD" href="～/xmlrpc.php?rsd" /&gt;
&lt;link rel="wlwmanifest" type="application/wlwmanifest+xml" href="～/wp-includes/wlwmanifest.xml" /&gt;
&lt;meta name="generator" content="WordPress 2.7.1" /&gt;</pre>
<p>今回は上記のmeta情報を非表示にする方法を紹介します。</p>
<p>方法は、利用中のテーマ内にあるfunctions.phpに以下をコードを記述するだけです。</p>
<pre class="brush:php">remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wp_generator');</pre>
<p>その他にも、以下のようなmeta情報を削除するコードもあります。</p>
<p>興味のある方は、ぜひお試しください。</p>
<pre class="brush:php">remove_action( 'wp_head', 'index_rel_link' );
remove_action( 'wp_head', 'start_post_rel_link', 10, 0 );
remove_action( 'wp_head', 'parent_post_rel_link', 10, 0 );
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mono-lab.net/wordpress-customize/62/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

