<?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: Add Custom Post Type Columns	</title>
	<atom:link href="https://www.shibashake.com/wp/add-custom-post-type-columns/feed" rel="self" type="application/rss+xml" />
	<link>https://shibashake.com/wp/add-custom-post-type-columns</link>
	<description>Adventures in WordPress</description>
	<lastBuildDate>Tue, 23 Aug 2016 22:47:20 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9</generator>
	<item>
		<title>
		By: Joe		</title>
		<link>https://shibashake.com/wp/add-custom-post-type-columns/comment-page-5#comment-896470</link>

		<dc:creator><![CDATA[Joe]]></dc:creator>
		<pubDate>Tue, 23 Aug 2016 22:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6034#comment-896470</guid>

					<description><![CDATA[&quot;Cannot use object of type stdClass as array in&quot;
 // Set total count
    $count = absint( $json[0]-&#062;total_count );

any idea why this stopped working? or a good fix? thanks]]></description>
			<content:encoded><![CDATA[<p>&#8220;Cannot use object of type stdClass as array in&#8221;<br />
 // Set total count<br />
    $count = absint( $json[0]-&gt;total_count );</p>
<p>any idea why this stopped working? or a good fix? thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Laura		</title>
		<link>https://shibashake.com/wp/add-custom-post-type-columns/comment-page-5#comment-881294</link>

		<dc:creator><![CDATA[Laura]]></dc:creator>
		<pubDate>Fri, 22 Apr 2016 18:54:07 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6034#comment-881294</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/add-custom-post-type-columns/comment-page-5#comment-881293&quot;&gt;Laura&lt;/a&gt;.

Oy...nevermind...I hadn&#039;t copied the line right. It was a comment. SMH at myself.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/add-custom-post-type-columns/comment-page-5#comment-881293">Laura</a>.</p>
<p>Oy&#8230;nevermind&#8230;I hadn&#8217;t copied the line right. It was a comment. SMH at myself.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Laura		</title>
		<link>https://shibashake.com/wp/add-custom-post-type-columns/comment-page-5#comment-881293</link>

		<dc:creator><![CDATA[Laura]]></dc:creator>
		<pubDate>Fri, 22 Apr 2016 18:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6034#comment-881293</guid>

					<description><![CDATA[This was exactly what I was looking for for my custom post type, however I&#039;m a tad bit lost as to where these functions are inserted. Are they part of the custom post type function itself? Or are they separate functions?  Also, regardless of where I put the code, I get an error with the first line &quot;admin_init function&quot;. Pretty sure I&#039;m missing something right before that?  Thanks in advance.]]></description>
			<content:encoded><![CDATA[<p>This was exactly what I was looking for for my custom post type, however I&#8217;m a tad bit lost as to where these functions are inserted. Are they part of the custom post type function itself? Or are they separate functions?  Also, regardless of where I put the code, I get an error with the first line &#8220;admin_init function&#8221;. Pretty sure I&#8217;m missing something right before that?  Thanks in advance.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ashmichmore		</title>
		<link>https://shibashake.com/wp/add-custom-post-type-columns/comment-page-5#comment-875778</link>

		<dc:creator><![CDATA[ashmichmore]]></dc:creator>
		<pubDate>Wed, 10 Feb 2016 09:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6034#comment-875778</guid>

					<description><![CDATA[Thank you so much!!!!!!!]]></description>
			<content:encoded><![CDATA[<p>Thank you so much!!!!!!!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Muhammad Uzair		</title>
		<link>https://shibashake.com/wp/add-custom-post-type-columns/comment-page-5#comment-874459</link>

		<dc:creator><![CDATA[Muhammad Uzair]]></dc:creator>
		<pubDate>Wed, 27 Jan 2016 07:27:12 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6034#comment-874459</guid>

					<description><![CDATA[plzzzz tell me the code for categories how to show categories whicj product is coming from category i m waiting]]></description>
			<content:encoded><![CDATA[<p>plzzzz tell me the code for categories how to show categories whicj product is coming from category i m waiting</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mike		</title>
		<link>https://shibashake.com/wp/add-custom-post-type-columns/comment-page-5#comment-866152</link>

		<dc:creator><![CDATA[Mike]]></dc:creator>
		<pubDate>Tue, 17 Nov 2015 16:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6034#comment-866152</guid>

					<description><![CDATA[Great post, thanks!

For those who would rather not go through the custom coding, a great plugin I found that does exactly what this coding accomplishes, AND provides flexibility and a GUI interface is:  &quot;Admin Columns&quot; (admincolumns.com).

No, I have nothing to do with the creation of the plugin, just a happy user.  There is a Pro version, but the free version did what I needed.]]></description>
			<content:encoded><![CDATA[<p>Great post, thanks!</p>
<p>For those who would rather not go through the custom coding, a great plugin I found that does exactly what this coding accomplishes, AND provides flexibility and a GUI interface is:  &#8220;Admin Columns&#8221; (admincolumns.com).</p>
<p>No, I have nothing to do with the creation of the plugin, just a happy user.  There is a Pro version, but the free version did what I needed.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: uddav		</title>
		<link>https://shibashake.com/wp/add-custom-post-type-columns/comment-page-5#comment-785764</link>

		<dc:creator><![CDATA[uddav]]></dc:creator>
		<pubDate>Fri, 24 Apr 2015 06:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6034#comment-785764</guid>

					<description><![CDATA[Really great article. I was looping around two days for this and finally found this great article and solved my problem.
Thanks ShibaShake]]></description>
			<content:encoded><![CDATA[<p>Really great article. I was looping around two days for this and finally found this great article and solved my problem.<br />
Thanks ShibaShake</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: sam		</title>
		<link>https://shibashake.com/wp/add-custom-post-type-columns/comment-page-5#comment-536875</link>

		<dc:creator><![CDATA[sam]]></dc:creator>
		<pubDate>Sun, 07 Dec 2014 10:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6034#comment-536875</guid>

					<description><![CDATA[what i&#039;m looking for :)

cheers]]></description>
			<content:encoded><![CDATA[<p>what i&#8217;m looking for 🙂</p>
<p>cheers</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/add-custom-post-type-columns/comment-page-4#comment-463757</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Thu, 13 Nov 2014 07:29:42 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6034#comment-463757</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/add-custom-post-type-columns/comment-page-4#comment-446691&quot;&gt;Nuthan Raghunath&lt;/a&gt;.

Yeah, the wpdb::prepare syntax has changed. You want to do something like this-
&lt;pre&gt;
$wpdb-&gt;prepare(&quot;SELECT COUNT(*) FROM $wpdb-&gt;posts WHERE post_parent = %d;&quot;, $id)
&lt;/pre&gt;
]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/add-custom-post-type-columns/comment-page-4#comment-446691">Nuthan Raghunath</a>.</p>
<p>Yeah, the wpdb::prepare syntax has changed. You want to do something like this-</p>
<pre>
$wpdb->prepare("SELECT COUNT(*) FROM $wpdb->posts WHERE post_parent = %d;", $id)
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nuthan Raghunath		</title>
		<link>https://shibashake.com/wp/add-custom-post-type-columns/comment-page-4#comment-446691</link>

		<dc:creator><![CDATA[Nuthan Raghunath]]></dc:creator>
		<pubDate>Sun, 09 Nov 2014 06:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6034#comment-446691</guid>

					<description><![CDATA[Does images column render values? Iam getting error Warning: Missing argument 2 for wpdb::prepare().]]></description>
			<content:encoded><![CDATA[<p>Does images column render values? Iam getting error Warning: Missing argument 2 for wpdb::prepare().</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 11/23 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 2/28 queries in 0.014 seconds using disk (Request-wide modification query)

Served from: www.shibashake.com @ 2024-12-15 14:54:04 by W3 Total Cache
-->