<?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 04:14:41 +0000</lastBuildDate>
    <item>
      <title>(PHP) SlideDeck 2 After get hook-in for overriding deck options - Jamie</title>
      <link>https://snipplr.com/view/66597/slidedeck-2-after-get-hookin-for-overriding-deck-options</link>
      <description>&lt;p&gt;Allows a SlideDeck user to hook into the options array after the SlideDeck is fetched from the database. Options can then be modified based on the request.&lt;/p&gt;</description>
      <pubDate>Thu, 09 Aug 2012 03:13:52 UTC</pubDate>
      <guid>https://snipplr.com/view/66597/slidedeck-2-after-get-hookin-for-overriding-deck-options</guid>
    </item>
    <item>
      <title>(PHP) Photoshop Like "Offset" Function - Jamie</title>
      <link>https://snipplr.com/view/42862/photoshop-like-offset-function</link>
      <description>&lt;p&gt;This code war written for a project I'm working on where a map of the world may need to be offset to center the view on specific areas. I'm also using it as a part of an iterative blur function to prevent seams from the blur operation.&#13;
&#13;
I would like to eventually tweak the function to receive both X &amp; Y values for the offset command, but am a tad lazy right now on this fine Sunday afternoon.&lt;/p&gt;</description>
      <pubDate>Mon, 25 Oct 2010 07:17:03 UTC</pubDate>
      <guid>https://snipplr.com/view/42862/photoshop-like-offset-function</guid>
    </item>
    <item>
      <title>(PHP) Filter WordPress Search Results By Post Type - Jamie</title>
      <link>https://snipplr.com/view/39496/filter-wordpress-search-results-by-post-type</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 25 Aug 2010 06:39:48 UTC</pubDate>
      <guid>https://snipplr.com/view/39496/filter-wordpress-search-results-by-post-type</guid>
    </item>
    <item>
      <title>(PHP) Round Large Numbers to a Letter Abbreviation eg: 25,000 to 25K - Jamie</title>
      <link>https://snipplr.com/view/39450/round-large-numbers-to-a-letter-abbreviation-eg-25000-to-25k</link>
      <description>&lt;p&gt;A little restrictive, but should work for simple implementations. I\'m using this to replicate Facebook\'s \"35K people like this\" button format.\r\nThe original code is included below my modification.&lt;/p&gt;</description>
      <pubDate>Tue, 24 Aug 2010 10:10:44 UTC</pubDate>
      <guid>https://snipplr.com/view/39450/round-large-numbers-to-a-letter-abbreviation-eg-25000-to-25k</guid>
    </item>
    <item>
      <title>(PHP) Get WordPress Tags/Categories for a Custom Post Type - Jamie</title>
      <link>https://snipplr.com/view/39446/get-wordpress-tagscategories-for-a-custom-post-type</link>
      <description>&lt;p&gt;Returns an HTML string of taxonomy terms associated with a post and given taxonomy. Terms are linked to their respective term listing pages.\r\n\r\nThis is for when a custom taxonomy is registered for a custom post type.&lt;/p&gt;</description>
      <pubDate>Tue, 24 Aug 2010 04:57:33 UTC</pubDate>
      <guid>https://snipplr.com/view/39446/get-wordpress-tagscategories-for-a-custom-post-type</guid>
    </item>
    <item>
      <title>(PHP) Get The Current Page Template Name in WordPress - Jamie</title>
      <link>https://snipplr.com/view/39334/get-the-current-page-template-name-in-wordpress</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 20 Aug 2010 04:00:44 UTC</pubDate>
      <guid>https://snipplr.com/view/39334/get-the-current-page-template-name-in-wordpress</guid>
    </item>
    <item>
      <title>(PHP) WordPress after_setup_theme Action &amp; Function - Jamie</title>
      <link>https://snipplr.com/view/39204/wordpress-aftersetuptheme-action--function</link>
      <description>&lt;p&gt;This may be necessary to properly add theme support for multiple menus.&lt;/p&gt;</description>
      <pubDate>Wed, 18 Aug 2010 04:06:53 UTC</pubDate>
      <guid>https://snipplr.com/view/39204/wordpress-aftersetuptheme-action--function</guid>
    </item>
    <item>
      <title>(PHP) Youtube Video ID Regex &amp; PHP Function - Jamie</title>
      <link>https://snipplr.com/view/38481/youtube-video-id-regex--php-function</link>
      <description>&lt;p&gt;I\'ve added an additional case to handle videos linked from a user\'s channel.&lt;/p&gt;</description>
      <pubDate>Thu, 05 Aug 2010 03:09:42 UTC</pubDate>
      <guid>https://snipplr.com/view/38481/youtube-video-id-regex--php-function</guid>
    </item>
  </channel>
</rss>
