<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Комментарии к записи: Статья «Как написать плагин для Wordpress» (Writing a Plugin) — перевод</title>
	<atom:link href="http://engelside.net/writing-a-plugin-translate/feed/" rel="self" type="application/rss+xml" />
	<link>http://engelside.net/writing-a-plugin-translate/</link>
	<description>Ольга «Engel» Алексашенко: блог о веб-разработке</description>
	<pubDate>Fri, 21 Nov 2008 23:04:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>Автор: Aligre</title>
		<link>http://engelside.net/writing-a-plugin-translate/#comment-524</link>
		<dc:creator>Aligre</dc:creator>
		<pubDate>Wed, 10 Sep 2008 01:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://engelside.net/writing-a-plugin-translate/#comment-524</guid>
		<description>Проблема которая останавливает меня от того что-бы подписаться на feed. ну очень медленно грузится сайт</description>
		<content:encoded><![CDATA[<p>Проблема которая останавливает меня от того что-бы подписаться на feed. ну очень медленно грузится сайт</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: YaD</title>
		<link>http://engelside.net/writing-a-plugin-translate/#comment-461</link>
		<dc:creator>YaD</dc:creator>
		<pubDate>Thu, 04 Sep 2008 07:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://engelside.net/writing-a-plugin-translate/#comment-461</guid>
		<description>Очень познавательно. Спасибо.</description>
		<content:encoded><![CDATA[<p>Очень познавательно. Спасибо.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Нильфгаардец</title>
		<link>http://engelside.net/writing-a-plugin-translate/#comment-429</link>
		<dc:creator>Нильфгаардец</dc:creator>
		<pubDate>Wed, 27 Aug 2008 09:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://engelside.net/writing-a-plugin-translate/#comment-429</guid>
		<description>Наконец-то, первый толковый мануал по созданию плагинов на русском языке.</description>
		<content:encoded><![CDATA[<p>Наконец-то, первый толковый мануал по созданию плагинов на русском языке.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: AntonF</title>
		<link>http://engelside.net/writing-a-plugin-translate/#comment-409</link>
		<dc:creator>AntonF</dc:creator>
		<pubDate>Mon, 11 Aug 2008 21:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://engelside.net/writing-a-plugin-translate/#comment-409</guid>
		<description>пример виджета, отображающего несколько последних постов в любой категории:

function widget_freshnews($postcat) 
{
global $wpdb;

$res=$wpdb-&#62;get_results( $wpdb-&#62;prepare("SELECT post_content,post_title FROM $wpdb-&#62;term_relationships,$wpdb-&#62;posts WHERE object_id=ID AND term_taxonomy_id='%d' AND post_status='publish' AND post_type='post' ORDER BY ID DESC LIMIT 0,5", $postcat), ARRAY_A );
for($i=0;$i&#60;count($res);$i++)
{
echo "&lt;b&gt;".$res[$i]['post_title']."&lt;/b&gt;".$res[$i]['post_content'].'';
echo "";
};

};

register_sidebar_widget('Свежие Новости', 'widget_freshnews');

виджеты прописываются и региструются в functions.php дизайна, подлючается виджет в дизайн-виджеты</description>
		<content:encoded><![CDATA[<p>пример виджета, отображающего несколько последних постов в любой категории:</p>
<p>function widget_freshnews($postcat)<br />
{<br />
global $wpdb;</p>
<p>$res=$wpdb-&gt;get_results( $wpdb-&gt;prepare(&#8221;SELECT post_content,post_title FROM $wpdb-&gt;term_relationships,$wpdb-&gt;posts WHERE object_id=ID AND term_taxonomy_id=&#8217;%d&#8217; AND post_status=&#8217;publish&#8217; AND post_type=&#8217;post&#8217; ORDER BY ID DESC LIMIT 0,5&#8243;, $postcat), ARRAY_A );<br />
for($i=0;$i&lt;count($res);$i++)<br />
{<br />
echo &#8220;<b>&#8220;.$res[$i]['post_title'].&#8221;</b>&#8220;.$res[$i]['post_content'].&#8221;;<br />
echo &#8220;&#8221;;<br />
};</p>
<p>};</p>
<p>register_sidebar_widget(&#8217;Свежие Новости&#8217;, &#8216;widget_freshnews&#8217;);</p>
<p>виджеты прописываются и региструются в functions.php дизайна, подлючается виджет в дизайн-виджеты</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Иннокенти</title>
		<link>http://engelside.net/writing-a-plugin-translate/#comment-377</link>
		<dc:creator>Иннокенти</dc:creator>
		<pubDate>Fri, 25 Jul 2008 12:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://engelside.net/writing-a-plugin-translate/#comment-377</guid>
		<description>Спасибо за отличный материал Вам! Буду у Вас частым гостем)</description>
		<content:encoded><![CDATA[<p>Спасибо за отличный материал Вам! Буду у Вас частым гостем)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Андрей</title>
		<link>http://engelside.net/writing-a-plugin-translate/#comment-353</link>
		<dc:creator>Андрей</dc:creator>
		<pubDate>Sun, 13 Jul 2008 08:59:06 +0000</pubDate>
		<guid isPermaLink="false">http://engelside.net/writing-a-plugin-translate/#comment-353</guid>
		<description>Всенда хотел написать свой плагин, прочитал статью ... и понял не справлюсь :(</description>
		<content:encoded><![CDATA[<p>Всенда хотел написать свой плагин, прочитал статью &#8230; и понял не справлюсь :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Irina</title>
		<link>http://engelside.net/writing-a-plugin-translate/#comment-347</link>
		<dc:creator>Irina</dc:creator>
		<pubDate>Sun, 06 Jul 2008 10:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://engelside.net/writing-a-plugin-translate/#comment-347</guid>
		<description>Спасибо? пригодилось</description>
		<content:encoded><![CDATA[<p>Спасибо? пригодилось</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: VolCh</title>
		<link>http://engelside.net/writing-a-plugin-translate/#comment-342</link>
		<dc:creator>VolCh</dc:creator>
		<pubDate>Fri, 27 Jun 2008 20:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://engelside.net/writing-a-plugin-translate/#comment-342</guid>
		<description>спасибо, пошел писать :)</description>
		<content:encoded><![CDATA[<p>спасибо, пошел писать :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: IAD</title>
		<link>http://engelside.net/writing-a-plugin-translate/#comment-315</link>
		<dc:creator>IAD</dc:creator>
		<pubDate>Wed, 21 May 2008 09:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://engelside.net/writing-a-plugin-translate/#comment-315</guid>
		<description>Да, информация полезная. Думаю это правильный подход - писать плагины, а не то что я делаю (курочу WP изнутри) ... :)</description>
		<content:encoded><![CDATA[<p>Да, информация полезная. Думаю это правильный подход - писать плагины, а не то что я делаю (курочу WP изнутри) &#8230; :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Snowcore</title>
		<link>http://engelside.net/writing-a-plugin-translate/#comment-312</link>
		<dc:creator>Snowcore</dc:creator>
		<pubDate>Fri, 16 May 2008 14:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://engelside.net/writing-a-plugin-translate/#comment-312</guid>
		<description>Собираюсь написать свой плагин. Ваша информация была самой интересной. Спасибо.</description>
		<content:encoded><![CDATA[<p>Собираюсь написать свой плагин. Ваша информация была самой интересной. Спасибо.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
