<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 22:08:04 +0000</lastBuildDate>
    <item>
      <title>(PHP) Query posts and cache the query - Mat_</title>
      <link>https://snipplr.com/view/67580/query-posts-and-cache-the-query</link>
      <description>&lt;p&gt;Snippet to show a simple use of the transient API when querying posts.&lt;/p&gt;</description>
      <pubDate>Wed, 03 Oct 2012 19:56:43 UTC</pubDate>
      <guid>https://snipplr.com/view/67580/query-posts-and-cache-the-query</guid>
    </item>
    <item>
      <title>(PHP) Display wordpress posts with custom date meta value, ordered by this date, with a defined taxonomy - Mat_</title>
      <link>https://snipplr.com/view/41286/display-wordpress-posts-with-custom-date-meta-value-ordered-by-this-date-with-a-defined-taxonomy</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 02 Oct 2010 00:59:55 UTC</pubDate>
      <guid>https://snipplr.com/view/41286/display-wordpress-posts-with-custom-date-meta-value-ordered-by-this-date-with-a-defined-taxonomy</guid>
    </item>
    <item>
      <title>(PHP) Display wordpress posts with custom date meta value, ordered by this date, - Mat_</title>
      <link>https://snipplr.com/view/41281/display-wordpress-posts-with-custom-date-meta-value-ordered-by-this-date</link>
      <description>&lt;p&gt;First you have to add a custom value with a correct date format.&#13;
The lines:&#13;
`AND CAST(wpostmeta.meta_value AS DATE) &gt; '".date("Y-m-d H:i:s")."'&#13;
AND CAST(wpostmeta.meta_value AS DATE) &lt; '".date("Y-m-d H:i:s", $date2)."' `&#13;
are only used to select dates between the current day and 2 months later&lt;/p&gt;</description>
      <pubDate>Fri, 01 Oct 2010 23:37:37 UTC</pubDate>
      <guid>https://snipplr.com/view/41281/display-wordpress-posts-with-custom-date-meta-value-ordered-by-this-date</guid>
    </item>
    <item>
      <title>(PHP) Add days, weeks or month to php date - Mat_</title>
      <link>https://snipplr.com/view/41274/add-days-weeks-or-month-to-php-date</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 01 Oct 2010 22:44:32 UTC</pubDate>
      <guid>https://snipplr.com/view/41274/add-days-weeks-or-month-to-php-date</guid>
    </item>
    <item>
      <title>(PHP) Retreive post from custom field value - Mat_</title>
      <link>https://snipplr.com/view/40376/retreive-post-from-custom-field-value</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 13 Sep 2010 01:45:01 UTC</pubDate>
      <guid>https://snipplr.com/view/40376/retreive-post-from-custom-field-value</guid>
    </item>
  </channel>
</rss>
