<?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 14:12:42 +0000</lastBuildDate>
    <item>
      <title>(PHP) magic fields: show all fields with LABELS, not key name. - shin</title>
      <link>https://snipplr.com/view/67547/magic-fields-show-all-fields-with-labels-not-key-name</link>
      <description>&lt;p&gt;it's important for cyrilic (key name must not contain non-english symbols) or for show key names with spaces. and this code not show empty fields or fields with "_name". this is not my code, i only add get_label here.&lt;/p&gt;</description>
      <pubDate>Mon, 01 Oct 2012 19:27:51 UTC</pubDate>
      <guid>https://snipplr.com/view/67547/magic-fields-show-all-fields-with-labels-not-key-name</guid>
    </item>
    <item>
      <title>(PHP) cut string without partial words (unicode version with mb_substr) - shin</title>
      <link>https://snipplr.com/view/67430/cut-string-without-partial-words-unicode-version-with-mbsubstr</link>
      <description>&lt;p&gt;cut string without partial words (unicode version with mb_substr). for this snippet: http://snipplr.com/view/67385/show-subcategories-with-picture-and-description/&lt;/p&gt;</description>
      <pubDate>Sat, 29 Sep 2012 22:38:54 UTC</pubDate>
      <guid>https://snipplr.com/view/67430/cut-string-without-partial-words-unicode-version-with-mbsubstr</guid>
    </item>
    <item>
      <title>(PHP) show attachment images (except for the first image) with description (user thumbnail size) - shin</title>
      <link>https://snipplr.com/view/67423/show-attachment-images-except-for-the-first-image-with-description-user-thumbnail-size</link>
      <description>&lt;p&gt;description from title, image size from function.php (add_image_size( 'descr', 278, 200, true );)&lt;/p&gt;</description>
      <pubDate>Fri, 28 Sep 2012 20:59:32 UTC</pubDate>
      <guid>https://snipplr.com/view/67423/show-attachment-images-except-for-the-first-image-with-description-user-thumbnail-size</guid>
    </item>
    <item>
      <title>(PHP) show subcategories with picture and description - shin</title>
      <link>https://snipplr.com/view/67385/show-subcategories-with-picture-and-description</link>
      <description>&lt;p&gt;second level of categories (when offset=-1 doesn't work, like for "get_category_link()"), pictures must be called exactly like category slug and placed to "catimg" folder. also i used "substr" for cut decription (314 symbols but you can change it). UPDATE: substr() replaced for mb_substr cause of unicode unknown symbols in cyrilic. UPDATE2: replaced mb_substr for function (http://snipplr.com/view/67430/cut-string-without-partial-words-unicode-version-with-mbsubstr/), now we have only full words, no partial.&lt;/p&gt;</description>
      <pubDate>Wed, 26 Sep 2012 21:56:15 UTC</pubDate>
      <guid>https://snipplr.com/view/67385/show-subcategories-with-picture-and-description</guid>
    </item>
  </channel>
</rss>
