<?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 09:57:51 +0000</lastBuildDate>
    <item>
      <title>(PHP) WordPress Parent Page with Child Page Excerpts - hussong</title>
      <link>https://snipplr.com/view/103414/wordpress-parent-page-with-child-page-excerpts</link>
      <description>&lt;p&gt;Snippet for a parent page to list child pages with excerpts.&lt;/p&gt;</description>
      <pubDate>Tue, 30 Jun 2015 16:22:08 UTC</pubDate>
      <guid>https://snipplr.com/view/103414/wordpress-parent-page-with-child-page-excerpts</guid>
    </item>
    <item>
      <title>(PHP) Custom sorting for previous/next post links - hussong</title>
      <link>https://snipplr.com/view/48060/custom-sorting-for-previousnext-post-links</link>
      <description>&lt;p&gt;Custom sorting for events based on a custom field&#13;
needs to be added to navigation-links.php&#13;
requires plugin: http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/&lt;/p&gt;</description>
      <pubDate>Fri, 28 Jan 2011 22:52:30 UTC</pubDate>
      <guid>https://snipplr.com/view/48060/custom-sorting-for-previousnext-post-links</guid>
    </item>
    <item>
      <title>(PHP) WordPress: delete enclosures of media files in feeds - hussong</title>
      <link>https://snipplr.com/view/48008/wordpress-delete-enclosures-of-media-files-in-feeds</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 27 Jan 2011 23:36:16 UTC</pubDate>
      <guid>https://snipplr.com/view/48008/wordpress-delete-enclosures-of-media-files-in-feeds</guid>
    </item>
    <item>
      <title>(PHP) Append more link to ALL excerpts - hussong</title>
      <link>https://snipplr.com/view/41579/append-more-link-to-all-excerpts</link>
      <description>&lt;p&gt;Appends a custom more-link to all excerpts, regardless of whether they're auto-generated or pulling manual excerpts from the excerpt field. Note: Automatic excerpts still show the default [â€¦] at the end (before the more-link).&#13;
&#13;
Found here: http://themeshaper.com/forums/topic/read-more-link-in-manual-excerpt#post-12992&lt;/p&gt;</description>
      <pubDate>Wed, 06 Oct 2010 01:19:53 UTC</pubDate>
      <guid>https://snipplr.com/view/41579/append-more-link-to-all-excerpts</guid>
    </item>
    <item>
      <title>(PHP) Add excerpts to pages - hussong</title>
      <link>https://snipplr.com/view/41031/add-excerpts-to-pages</link>
      <description>&lt;p&gt;Adds support for excerpts in WordPress pages. Great for using WordPress as a CMS. A text field appears in the admin panel and you can pull the excerpt from your template files (for teaser texts etc.)&lt;/p&gt;</description>
      <pubDate>Sat, 25 Sep 2010 20:09:38 UTC</pubDate>
      <guid>https://snipplr.com/view/41031/add-excerpts-to-pages</guid>
    </item>
    <item>
      <title>(PHP) List upcoming Events in Sidebar via PHP Code Widget - hussong</title>
      <link>https://snipplr.com/view/40768/list-upcoming-events-in-sidebar-via-php-code-widget</link>
      <description>&lt;p&gt;Gets the date, pulls a list of upcoming events (posts from cat 6) and sorts by custom field \\\"event_date\\\" . Add to sidebar via [PHP Code Widget](http://wordpress.org/extend/plugins/php-code-widget/).&lt;/p&gt;</description>
      <pubDate>Sun, 19 Sep 2010 23:30:40 UTC</pubDate>
      <guid>https://snipplr.com/view/40768/list-upcoming-events-in-sidebar-via-php-code-widget</guid>
    </item>
    <item>
      <title>(PHP) Custom filtering and sorting for events via functions.php - hussong</title>
      <link>https://snipplr.com/view/40766/custom-filtering-and-sorting-for-events-via-functionsphp</link>
      <description>&lt;p&gt;Uses action hook of the hybrid theme framework to launch function that modifies the query on the archive page for category 6.\\r\\n\\r\\nSorts by the custom field \\\"event_date\\\" and compares it to the current date.\\r\\n\\r\\nBased on [goto11\\\'s](http://www.goto11.co.uk/) code from the discussion [here](http://esdev.net/sort-events-by-date-in-wordpress-using-custom-fields/comment-page-1/#comment-7111)&lt;/p&gt;</description>
      <pubDate>Sun, 19 Sep 2010 22:56:04 UTC</pubDate>
      <guid>https://snipplr.com/view/40766/custom-filtering-and-sorting-for-events-via-functionsphp</guid>
    </item>
    <item>
      <title>(PHP) Wordpress: Sort Order by Custom Field for specific Category - hussong</title>
      <link>https://snipplr.com/view/13971/wordpress-sort-order-by-custom-field-for-specific-category</link>
      <description>&lt;p&gt;Put this before the loop in archive.php to have posts in the archive for category '26' sorted by custom field 'date'. &#13;
Assign sortable values like '090501' or '2009-05-01' to those fields when editing posts and your Upcoming Events will be sorted by the future date at which they will take place.&lt;/p&gt;</description>
      <pubDate>Sun, 12 Apr 2009 04:56:28 UTC</pubDate>
      <guid>https://snipplr.com/view/13971/wordpress-sort-order-by-custom-field-for-specific-category</guid>
    </item>
  </channel>
</rss>
