<?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>Рецепты WordPress &#187; Функции</title>
	<atom:link href="http://www.wprecipe.ru/label/funkcii/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wprecipe.ru</link>
	<description>Полезные рецепты, хаки и руководства по CMS WordPress. Шаблоны и темы для WordPress</description>
	<lastBuildDate>Thu, 14 Jan 2010 07:39:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Добавление файлов css или js в header</title>
		<link>http://www.wprecipe.ru/dobavlenie-fajlov-css-ili-js-v-header.htm</link>
		<comments>http://www.wprecipe.ru/dobavlenie-fajlov-css-ili-js-v-header.htm#comments</comments>
		<pubDate>Sat, 05 Sep 2009 21:36:28 +0000</pubDate>
		<dc:creator>wprecipe</dc:creator>
				<category><![CDATA[Как сделать?]]></category>
		<category><![CDATA[Функции]]></category>

		<guid isPermaLink="false">http://artsfun.ru/?p=112</guid>
		<description><![CDATA[Когда вы разрабатываете  плагин для WordPress или виджет, появляется необходимость добавить файлы  CSS или Javascript в header темы. Но как сделать это, когда Вы не можете получить доступ к файлу темы? Вот простой способ добавить что-нибудь в заголовок блога, не редактируя header.php.
Это простой рецепт использования встроенных функций WordPress, и вот как мы это делаем:
function GetLastPostName_head()
{
 [...]]]></description>
		<wfw:commentRss>http://www.wprecipe.ru/dobavlenie-fajlov-css-ili-js-v-header.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Создание функции meta description</title>
		<link>http://www.wprecipe.ru/sozdanie-funkcii-meta-description.htm</link>
		<comments>http://www.wprecipe.ru/sozdanie-funkcii-meta-description.htm#comments</comments>
		<pubDate>Thu, 03 Sep 2009 20:13:56 +0000</pubDate>
		<dc:creator>wprecipe</dc:creator>
				<category><![CDATA[Как сделать?]]></category>
		<category><![CDATA[Функции]]></category>

		<guid isPermaLink="false">http://artsfun.ru/?p=108</guid>
		<description><![CDATA[Откройте файл header.php вашей темы и скопируйте этот код между тегами &#60;head&#62; и &#60;/head&#62;
&#60;meta name="description" content="
&#60;?php if ( (is_home()) &#124;&#124; (is_front_page()) ) {
    echo ('Ваше основное описание');
} elseif(is_category()) {
    echo category_description();
} elseif(is_tag()) {
    echo '-tag archive page for this blog' . single_tag_title();
} elseif(is_month()) {
   [...]]]></description>
		<wfw:commentRss>http://www.wprecipe.ru/sozdanie-funkcii-meta-description.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Редирект в WordPress</title>
		<link>http://www.wprecipe.ru/redirekt-v-wordpress.htm</link>
		<comments>http://www.wprecipe.ru/redirekt-v-wordpress.htm#comments</comments>
		<pubDate>Wed, 02 Sep 2009 21:22:53 +0000</pubDate>
		<dc:creator>wprecipe</dc:creator>
				<category><![CDATA[Как сделать?]]></category>
		<category><![CDATA[Функции]]></category>

		<guid isPermaLink="false">http://artsfun.ru/?p=118</guid>
		<description><![CDATA[Вы знаете, что у WordPress есть встроенная функция, чтобы переадресовать пользователей к определенному url? Называется wp_redirect (). Много пользователей не знают об этом, но Вы можете также создать 301 переадресацию.
Для создания 301 редиректа, надо добавить аргумент к функции 301  
&#60;?php wp_redirect('http://www.wprecipe.ru', 301); ?&#62;
Этот код будет перенаправлять посетителей на этот сайт, можете использовать )))
]]></description>
		<wfw:commentRss>http://www.wprecipe.ru/redirekt-v-wordpress.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

