<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Mastering the WordPress Loop	</title>
	<atom:link href="https://www.shibashake.com/wp/mastering-the-wordpress-loop/feed" rel="self" type="application/rss+xml" />
	<link>https://shibashake.com/wp/mastering-the-wordpress-loop</link>
	<description>Adventures in WordPress</description>
	<lastBuildDate>Sun, 24 Nov 2013 15:37:46 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9</generator>
	<item>
		<title>
		By: cfx		</title>
		<link>https://shibashake.com/wp/mastering-the-wordpress-loop/comment-page-1#comment-91507</link>

		<dc:creator><![CDATA[cfx]]></dc:creator>
		<pubDate>Sun, 24 Nov 2013 15:37:46 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=7336#comment-91507</guid>

					<description><![CDATA[I came here from your posts on CPT permalinks and was wondering how I can use the request filter to successfully make a CPT slug into &lt;strong&gt;%author%&lt;/strong&gt; *without* adding a static prefix (like your example in part 2 of your series). When I remove the static prefix from your example my CPTs work as expected, but my default post types resolve to 404s.

Any suggestion or an example would be much appreciated. Thank you!]]></description>
			<content:encoded><![CDATA[<p>I came here from your posts on CPT permalinks and was wondering how I can use the request filter to successfully make a CPT slug into <strong>%author%</strong> *without* adding a static prefix (like your example in part 2 of your series). When I remove the static prefix from your example my CPTs work as expected, but my default post types resolve to 404s.</p>
<p>Any suggestion or an example would be much appreciated. Thank you!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/mastering-the-wordpress-loop/comment-page-1#comment-37318</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Mon, 05 Nov 2012 15:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=7336#comment-37318</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/mastering-the-wordpress-loop/comment-page-1#comment-35003&quot;&gt;dcolumbus&lt;/a&gt;.

What type of objects do you want to add the new column to? Here is something I wrote on adding columns to custom post types-
http://shibashake.com/wordpress-theme/add-custom-post-type-columns]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/mastering-the-wordpress-loop/comment-page-1#comment-35003">dcolumbus</a>.</p>
<p>What type of objects do you want to add the new column to? Here is something I wrote on adding columns to custom post types-<br />
<a href="http://shibashake.com/wordpress-theme/add-custom-post-type-columns" rel="nofollow ugc">http://shibashake.com/wordpress-theme/add-custom-post-type-columns</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: dcolumbus		</title>
		<link>https://shibashake.com/wp/mastering-the-wordpress-loop/comment-page-1#comment-35003</link>

		<dc:creator><![CDATA[dcolumbus]]></dc:creator>
		<pubDate>Thu, 01 Nov 2012 19:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=7336#comment-35003</guid>

					<description><![CDATA[Great post ... well written and some of _List class information makes more sense.

Do you know how to add meta data (custom fields) to the results in each row?

For example, get_post_meta(myid, my_custom_field);]]></description>
			<content:encoded><![CDATA[<p>Great post &#8230; well written and some of _List class information makes more sense.</p>
<p>Do you know how to add meta data (custom fields) to the results in each row?</p>
<p>For example, get_post_meta(myid, my_custom_field);</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nico		</title>
		<link>https://shibashake.com/wp/mastering-the-wordpress-loop/comment-page-1#comment-2162</link>

		<dc:creator><![CDATA[Nico]]></dc:creator>
		<pubDate>Thu, 16 Sep 2010 11:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=7336#comment-2162</guid>

					<description><![CDATA[All right, I change the way the function is executed to :
function my_blog_request($q) {
	global $pagenow;
	if ( $pagenow == &#039;edit.php&#039; &#038;&#038; $q[&#039;post_type&#039;] == &#039;soy-festival&#039; ) {
	    $q[&#039;order&#039;] = &#039;DESC&#039;;
    }
	return $q;
}
And now it works without any warning :)]]></description>
			<content:encoded><![CDATA[<p>All right, I change the way the function is executed to :<br />
function my_blog_request($q) {<br />
	global $pagenow;<br />
	if ( $pagenow == &#8216;edit.php&#8217; &amp;&amp; $q[&#8216;post_type&#8217;] == &#8216;soy-festival&#8217; ) {<br />
	    $q[&#8216;order&#8217;] = &#8216;DESC&#8217;;<br />
    }<br />
	return $q;<br />
}<br />
And now it works without any warning 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nico		</title>
		<link>https://shibashake.com/wp/mastering-the-wordpress-loop/comment-page-1#comment-2161</link>

		<dc:creator><![CDATA[Nico]]></dc:creator>
		<pubDate>Thu, 16 Sep 2010 10:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=7336#comment-2161</guid>

					<description><![CDATA[In previous versions of WP, I was using the &quot;manage_pages_query&quot; filter but I saw that it&#039;s no longer supported.
So I&#039;m trying your solution with the &quot;request&quot; filter but I have an PHP warning on front end when using it :
The first argument should be an array in .../wp-includes/classes.php on line 395

DO you have an idea of what&#039;s going wrong ?]]></description>
			<content:encoded><![CDATA[<p>In previous versions of WP, I was using the &#8220;manage_pages_query&#8221; filter but I saw that it&#8217;s no longer supported.<br />
So I&#8217;m trying your solution with the &#8220;request&#8221; filter but I have an PHP warning on front end when using it :<br />
The first argument should be an array in &#8230;/wp-includes/classes.php on line 395</p>
<p>DO you have an idea of what&#8217;s going wrong ?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 0/73 objects using disk
Page Caching using disk: enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn.shibashake.com
Lazy Loading (feed)
Minified using disk
Database Caching using disk (Request-wide modification query)

Served from: www.shibashake.com @ 2024-12-16 18:17:13 by W3 Total Cache
-->