<?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 13:33:25 +0000</lastBuildDate>
    <item>
      <title>(PHP) Select Wordpress posts by number of revisions - JoshChris</title>
      <link>https://snipplr.com/view/146606/select-wordpress-posts-by-number-of-revisions</link>
      <description>&lt;p&gt;Too many revisions taking up space in your database? Use this script to find which posts have more than 10 - and then you can figure out what to do with them.&lt;/p&gt;</description>
      <pubDate>Thu, 07 Apr 2016 07:23:48 UTC</pubDate>
      <guid>https://snipplr.com/view/146606/select-wordpress-posts-by-number-of-revisions</guid>
    </item>
    <item>
      <title>(PHP) Wordpress Query: Sort posts nearest proximity to farthest - JoshChris</title>
      <link>https://snipplr.com/view/146463/wordpress-query-sort-posts-nearest-proximity-to-farthest</link>
      <description>&lt;p&gt;A quick query example for a wordpress database query that gets posts ordered by distance via the custom fields `latitude` and `longitude`.&lt;/p&gt;</description>
      <pubDate>Wed, 23 Mar 2016 16:08:00 UTC</pubDate>
      <guid>https://snipplr.com/view/146463/wordpress-query-sort-posts-nearest-proximity-to-farthest</guid>
    </item>
    <item>
      <title>(PHP) PHP: Truncate a string at a word break - JoshChris</title>
      <link>https://snipplr.com/view/72935/php-truncate-a-string-at-a-word-break</link>
      <description>&lt;p&gt;Truncates the given string at the specified length.&lt;/p&gt;</description>
      <pubDate>Tue, 19 Nov 2013 05:36:24 UTC</pubDate>
      <guid>https://snipplr.com/view/72935/php-truncate-a-string-at-a-word-break</guid>
    </item>
    <item>
      <title>(PHP) Get all custom taxonomies that are attached to posts that have another custom taxonomy - JoshChris</title>
      <link>https://snipplr.com/view/71944/get-all-custom-taxonomies-that-are-attached-to-posts-that-have-another-custom-taxonomy</link>
      <description>&lt;p&gt;Get all custom taxonomies that are attached to posts that have another custom taxonomy. Like fetching all categories that are attached to products that have the brand taxonomy "Nike".&lt;/p&gt;</description>
      <pubDate>Tue, 23 Jul 2013 15:31:36 UTC</pubDate>
      <guid>https://snipplr.com/view/71944/get-all-custom-taxonomies-that-are-attached-to-posts-that-have-another-custom-taxonomy</guid>
    </item>
    <item>
      <title>(PHP) Move the posts count inside the link of the Archive and Category widgets of WordPress - JoshChris</title>
      <link>https://snipplr.com/view/71843/move-the-posts-count-inside-the-link-of-the-archive-and-category-widgets-of-wordpress</link>
      <description>&lt;p&gt;Genius stuff right here from https://gist.github.com/BronsonQuick&lt;/p&gt;</description>
      <pubDate>Sun, 14 Jul 2013 04:15:06 UTC</pubDate>
      <guid>https://snipplr.com/view/71843/move-the-posts-count-inside-the-link-of-the-archive-and-category-widgets-of-wordpress</guid>
    </item>
    <item>
      <title>(jQuery) Multiline Text Overflow - JoshChris</title>
      <link>https://snipplr.com/view/71799/multiline-text-overflow</link>
      <description>&lt;p&gt;Simple function to include in your script to enable multi-line text-overflow.&#13;
See the jsfiddle (http://jsfiddle.net/eAyyL/) for details on the necessary CSS and HTML layout.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Jul 2013 02:13:54 UTC</pubDate>
      <guid>https://snipplr.com/view/71799/multiline-text-overflow</guid>
    </item>
    <item>
      <title>(PHP) Get all attached images for a wordpress post/page - JoshChris</title>
      <link>https://snipplr.com/view/71798/get-all-attached-images-for-a-wordpress-postpage</link>
      <description>&lt;p&gt;Short php snippit to get all images that are attached to a post or page in wordpress. &#13;
Need to mod to only get gallery images.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Jul 2013 02:00:19 UTC</pubDate>
      <guid>https://snipplr.com/view/71798/get-all-attached-images-for-a-wordpress-postpage</guid>
    </item>
    <item>
      <title>(jQuery) jQuery Cycle code to scroll up and down like a scroll bar - JoshChris</title>
      <link>https://snipplr.com/view/65982/jquery-cycle-code-to-scroll-up-and-down-like-a-scroll-bar</link>
      <description>&lt;p&gt;This is some code that creates an effect for jQuery Cycle to scroll up when you click the down button and down when you click the up button - like a scrollbar.&lt;/p&gt;</description>
      <pubDate>Fri, 06 Jul 2012 09:08:56 UTC</pubDate>
      <guid>https://snipplr.com/view/65982/jquery-cycle-code-to-scroll-up-and-down-like-a-scroll-bar</guid>
    </item>
  </channel>
</rss>
