<?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>MarkTeipe.com &#187; Wordpress</title>
	<atom:link href="http://markteipe.com/category/code/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://markteipe.com</link>
	<description>New Media Development</description>
	<lastBuildDate>Thu, 20 May 2010 15:22:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Brightcove and Youtube embed code in WordPress MU</title>
		<link>http://markteipe.com/2008/08/25/brightcove-and-youtube-embed-code-in-wordpress-mu/</link>
		<comments>http://markteipe.com/2008/08/25/brightcove-and-youtube-embed-code-in-wordpress-mu/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 19:52:53 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress MU]]></category>

		<guid isPermaLink="false">http://markteipe.com/?p=63</guid>
		<description><![CDATA[By default WordPress MU does not allow embed code even when using the HTML post feature. This is different from singe WordPress instances that do allow embedding. The fix: Edit wp-include/kses.php. In that file search for “Post filtering” and then comment out the following lines: // Post filtering //add_filter(’content_save_pre’, ‘wp_filter_post_kses’); Please note this will affect [...]]]></description>
			<content:encoded><![CDATA[<p>By default WordPress MU does not allow embed code even when using the HTML post feature. This is different from singe WordPress instances that do allow embedding.</p>
<p>The fix: Edit wp-include/kses.php. In that file search for “Post filtering” and then comment out the following lines:<br />
<code><br />
// Post filtering<br />
//add_filter(’content_save_pre’, ‘wp_filter_post_kses’);<br />
</code></p>
<p>Please note this will affect all blog instances within the WordPress MU installation.</p>
<p>This fix came from  <a href="http://simply-basic.com/posts/194160" target="_blank">Simply-Basic.com</a> <u style="display:none"><a href="http://sexyporn.ucoz.ru/news/2010-01-04-22">????? ???? ??????</a></u></p>
]]></content:encoded>
			<wfw:commentRss>http://markteipe.com/2008/08/25/brightcove-and-youtube-embed-code-in-wordpress-mu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress paging problem in custom category templates</title>
		<link>http://markteipe.com/2008/08/22/wordpress-paging-problem-in-custom-category-templates/</link>
		<comments>http://markteipe.com/2008/08/22/wordpress-paging-problem-in-custom-category-templates/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 03:40:44 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Templating]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://markteipe.com/?p=62</guid>
		<description><![CDATA[So there&#8217;s a bug in the wordpress query_posts() function with Pagination when you&#8217;re building a custom template and you want to view posts by category and have it limit a page to a certain numbers of posts. Most of the solutions in the WP forums are bogus. You get the page links but the pages [...]]]></description>
			<content:encoded><![CDATA[<p>So there&#8217;s a bug in the wordpress query_posts() function with Pagination when you&#8217;re building a custom template and you want to view posts by category and have it limit a page to a certain numbers of posts. Most of the solutions in the WP forums are bogus. You get the page links but the pages are the same posts. As i suspected you gotta tweak the query and this guy has the <a href="http://stylizedweb.com/2008/08/13/query_posts-pagination-problem/#comment-15406" target="_blank">perfect solution here</a>. <strong style="display:none"><a href="http://likefucking.3dn.ru/news/2010-01-04-35">??????? ?????</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://markteipe.com/2008/08/22/wordpress-paging-problem-in-custom-category-templates/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Issues with Podtrac and Podpress in WordPress</title>
		<link>http://markteipe.com/2008/08/07/issues-with-podtrac-and-podpress-in-wordpress/</link>
		<comments>http://markteipe.com/2008/08/07/issues-with-podtrac-and-podpress-in-wordpress/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 23:38:57 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Podpress]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[podtrac]]></category>

		<guid isPermaLink="false">http://markteipe.com/?p=60</guid>
		<description><![CDATA[Saw a lot of possible fixes for this issue. The problem is in the General Settings of Podpress, when enabling Podtrac statistics nothing changes with the MP3 urls in the feed. All you have to do is format your uploads folder field named &#8220;URI of media files directory&#8221; like this: http://www.podtrac.com/pts/redirect.mp3/www.YOURDOMAINNAME.com/wp-content/uploads This is assuming you [...]]]></description>
			<content:encoded><![CDATA[<p>Saw a lot of possible fixes for this issue. The problem is in the General Settings of Podpress, when enabling Podtrac statistics nothing changes with the MP3 urls in the feed. All you have to do is format your uploads folder field named &#8220;URI of media files directory&#8221; like this:</p>
<p><code>http://www.podtrac.com/pts/redirect.mp3/www.YOURDOMAINNAME.com/wp-content/uploads</code></p>
<p>This is assuming you already have an account set up wih <a href="http://www.podtrac.com/" target="_blank">Podtrac</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://markteipe.com/2008/08/07/issues-with-podtrac-and-podpress-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP_Query issues with sortby</title>
		<link>http://markteipe.com/2008/05/02/wp_query-issues-with-sortby/</link>
		<comments>http://markteipe.com/2008/05/02/wp_query-issues-with-sortby/#comments</comments>
		<pubDate>Fri, 02 May 2008 20:47:39 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://markteipe.com/2008/05/02/wp_query-issues-with-sortby/</guid>
		<description><![CDATA[Was trying to figure out the proper way to sort my WP_Query post results by category and found out that there are some buggy things with the sortby using WP_Query. I wanted to sort by cat_name then tried cat_id and cat_nicename. All work for the most part but would throw a post randomly out of [...]]]></description>
			<content:encoded><![CDATA[<p>Was trying to figure out the proper way to sort my WP_Query post results by category and found out that there are some buggy things with the sortby using WP_Query. I wanted to sort by cat_name then tried cat_id and cat_nicename. All work for the most part but would throw a post randomly out of order. So I ended up stacking my results into an object array and using the trusty PHP &#8220;sort&#8221;. Like this:</p>
<p>class an_object {<br />
var $an_name;<br />
var $an_slug;<br />
}</p>
<p>$i=0;<br />
$my_query = new WP_Query();<br />
while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post();<br />
$an[$i] = new an_object();<br />
foreach((get_the_category()) as $category) {<br />
$an[$i]-&gt;an_slug = $category-&gt;category_nicename;<br />
$an[$i]-&gt;an_name = $category-&gt;cat_name;<br />
}<br />
$i++;<br />
endwhile;<br />
<strong><br />
sort($an);</strong></p>
<p>$z=0;<br />
while($an[$z]){<br />
echo $an[$z]-&gt;an_name.&#8221; &#8220;.$an[$z]-&gt;an_slug.&#8221;&lt;br /&gt;&#8221;;</p>
<p>$z++;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://markteipe.com/2008/05/02/wp_query-issues-with-sortby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
