<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/posts</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 15:36:45 GMT</pubDate>
<item>
<title>(PHP) List of latest posts - paul0078</title>
<link>http://snipplr.com/view/64585/list-of-latest-posts/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 15 Apr 2012 20:16:01 GMT</pubDate>
<guid>http://snipplr.com/view/64585/list-of-latest-posts/</guid>
</item>
<item>
<title>(PHP) WP Custom Posts Sidebar - For Cat Exclusion - ryarwood</title>
<link>http://snipplr.com/view/62858/wp-custom-posts-sidebar--for-cat-exclusion/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 30 Jan 2012 08:47:16 GMT</pubDate>
<guid>http://snipplr.com/view/62858/wp-custom-posts-sidebar--for-cat-exclusion/</guid>
</item>
<item>
<title>(PHP) Top Posts:  Custom Post Type/Taxonomy by Comment Count - lswilson</title>
<link>http://snipplr.com/view/62665/top-posts--custom-post-typetaxonomy-by-comment-count/</link>
<description><![CDATA[ <p>WordPress top posts: custom post type / taxonomy
Ordered by comment count</p> ]]></description>
<pubDate>Fri, 20 Jan 2012 08:36:34 GMT</pubDate>
<guid>http://snipplr.com/view/62665/top-posts--custom-post-typetaxonomy-by-comment-count/</guid>
</item>
<item>
<title>(PHP) Get Posts from Custom Post Type - i-am-andy</title>
<link>http://snipplr.com/view/58108/get-posts-from-custom-post-type/</link>
<description><![CDATA[ <p>Get posts from a Custom Post Type</p> ]]></description>
<pubDate>Tue, 23 Aug 2011 22:22:10 GMT</pubDate>
<guid>http://snipplr.com/view/58108/get-posts-from-custom-post-type/</guid>
</item>
<item>
<title>(PHP) Wordpress: Recent Posts Widget - psteinweber</title>
<link>http://snipplr.com/view/57997/wordpress-recent-posts-widget/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 18 Aug 2011 22:21:55 GMT</pubDate>
<guid>http://snipplr.com/view/57997/wordpress-recent-posts-widget/</guid>
</item>
<item>
<title>(PHP) Add a metabox to multiple posts - xavsio4</title>
<link>http://snipplr.com/view/55315/add-a-metabox-to-multiple-posts/</link>
<description><![CDATA[ <p>This function will loop all the registered post types, and for each post type create a meta box with given data. Here links is assimilated to post types</p> ]]></description>
<pubDate>Thu, 16 Jun 2011 17:53:13 GMT</pubDate>
<guid>http://snipplr.com/view/55315/add-a-metabox-to-multiple-posts/</guid>
</item>
<item>
<title>(PHP) Twitter style “time ago” dates on posts in wordpress - paulund</title>
<link>http://snipplr.com/view/55256/twitter-style-time-ago-dates-on-posts-in-wordpress/</link>
<description><![CDATA[ <p>Allows you to display a look like 5 days ago.</p> ]]></description>
<pubDate>Wed, 15 Jun 2011 18:01:04 GMT</pubDate>
<guid>http://snipplr.com/view/55256/twitter-style-time-ago-dates-on-posts-in-wordpress/</guid>
</item>
<item>
<title>(PHP) Wordpress Query Posts - ronal</title>
<link>http://snipplr.com/view/54846/wordpress-query-posts/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 04 Jun 2011 01:03:52 GMT</pubDate>
<guid>http://snipplr.com/view/54846/wordpress-query-posts/</guid>
</item>
<item>
<title>(PHP) Search Posts Only - zealmurapa</title>
<link>http://snipplr.com/view/52326/search-posts-only/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 19 Apr 2011 22:09:07 GMT</pubDate>
<guid>http://snipplr.com/view/52326/search-posts-only/</guid>
</item>
<item>
<title>(PHP) List WordPress Posts by Category - mb2o</title>
<link>http://snipplr.com/view/51339/list-wordpress-posts-by-category/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 31 Mar 2011 01:26:02 GMT</pubDate>
<guid>http://snipplr.com/view/51339/list-wordpress-posts-by-category/</guid>
</item>
<item>
<title>(PHP) Updated March 2011: Wordpress post expiration code - ramborc</title>
<link>http://snipplr.com/view/50046/updated-march-2011-wordpress-post-expiration-code/</link>
<description><![CDATA[ <p>This is an updated version of the original Wordpress post expiration code (3899) that bugs out towards the end/beginning of a month when using European date format (d.m.Y). Usage is the same, this code makes "expired" posts cease to show up in the normal page, but they should still show up in the archives. When writing the post, enter a custom field with the key "expiration" and set the date. The below code will go on the index page in the theme folder.

I've changed the way dates are compared using  this article for reference.

Anomalies handling:

- If there is no expiry date set, a post will show up until 2050.
- If the expiration field has a value that can't be converted to Unix timestamp, it will be empty and thus smaller than today's date, i.e. the post won't show up on the home page.</p> ]]></description>
<pubDate>Fri, 04 Mar 2011 20:25:58 GMT</pubDate>
<guid>http://snipplr.com/view/50046/updated-march-2011-wordpress-post-expiration-code/</guid>
</item>
<item>
<title>(PHP) Wordpress Popular Posts - laurentzziu</title>
<link>http://snipplr.com/view/44138/wordpress-popular-posts/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 15 Nov 2010 02:41:17 GMT</pubDate>
<guid>http://snipplr.com/view/44138/wordpress-popular-posts/</guid>
</item>
<item>
<title>(PHP) Wordpress Recents Posts - laurentzziu</title>
<link>http://snipplr.com/view/44129/wordpress-recents-posts/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 15 Nov 2010 02:23:58 GMT</pubDate>
<guid>http://snipplr.com/view/44129/wordpress-recents-posts/</guid>
</item>
<item>
<title>(PHP) Wordpress Related Posts Shortcode - laurentzziu</title>
<link>http://snipplr.com/view/43845/wordpress-related-posts-shortcode/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 10 Nov 2010 04:06:50 GMT</pubDate>
<guid>http://snipplr.com/view/43845/wordpress-related-posts-shortcode/</guid>
</item>
<item>
<title>(PHP) Wodpress next and previous post link - laurentzziu</title>
<link>http://snipplr.com/view/43819/wodpress-next-and-previous-post-link/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 09 Nov 2010 21:43:17 GMT</pubDate>
<guid>http://snipplr.com/view/43819/wodpress-next-and-previous-post-link/</guid>
</item>
<item>
<title>(PHP) PHPBB3 Post Grabber - mladoux</title>
<link>http://snipplr.com/view/40843/phpbb3-post-grabber/</link>
<description><![CDATA[ <p>A simple PHPBB3 post grabber script that I wrote for a friend a while back.</p> ]]></description>
<pubDate>Tue, 21 Sep 2010 18:32:48 GMT</pubDate>
<guid>http://snipplr.com/view/40843/phpbb3-post-grabber/</guid>
</item>
<item>
<title>(PHP) Wordpress Get Custom Post Type and Count posts for CSS Classes - dallasbpeters</title>
<link>http://snipplr.com/view/39791/wordpress-get-custom-post-type-and-count-posts-for-css-classes/</link>
<description><![CDATA[ <p>Used this on the vox site to find a custom post type and then assign a variable to get different classes for the output.</p> ]]></description>
<pubDate>Wed, 01 Sep 2010 11:14:30 GMT</pubDate>
<guid>http://snipplr.com/view/39791/wordpress-get-custom-post-type-and-count-posts-for-css-classes/</guid>
</item>
<item>
<title>(PHP) Pulling posts from outside wordpress (in the right way!) - bronet</title>
<link>http://snipplr.com/view/39526/pulling-posts-from-outside-wordpress-in-the-right-way/</link>
<description><![CDATA[ <p>Pulling posts from outside wordpress (in the right way!) as a response for this snippet: http://snipplr.com/view/39523/pulling--posts-from-outside-wordpress/</p> ]]></description>
<pubDate>Wed, 25 Aug 2010 23:53:34 GMT</pubDate>
<guid>http://snipplr.com/view/39526/pulling-posts-from-outside-wordpress-in-the-right-way/</guid>
</item>
<item>
<title>(PHP) Only search WP posts - myke</title>
<link>http://snipplr.com/view/39196/only-search-wp-posts/</link>
<description><![CDATA[ <p>To exclude pages from wordpress search results include the following in your theme's functions.php</p> ]]></description>
<pubDate>Wed, 18 Aug 2010 01:35:25 GMT</pubDate>
<guid>http://snipplr.com/view/39196/only-search-wp-posts/</guid>
</item>
<item>
<title>(PHP) Wordpress random posts - DanielPaul</title>
<link>http://snipplr.com/view/39103/wordpress-random-posts/</link>
<description><![CDATA[ <p>Display random posts without a plugin</p> ]]></description>
<pubDate>Mon, 16 Aug 2010 03:50:41 GMT</pubDate>
<guid>http://snipplr.com/view/39103/wordpress-random-posts/</guid>
</item>
</channel>
</rss>