<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 04:49:57 GMT</pubDate>
<item>
<title>(PHP) Custom Page Templates in a WordPress Plugin - bitsculptor</title>
<link>http://snipplr.com/view/71257/custom-page-templates-in-a-wordpress-plugin/</link>
<description><![CDATA[ <p>This allows you to create a custom page template in your plugin. Say your plugin creates a custom post type and you want to override the standard archives page template to display your custom post type in a special way. You could achieve this by creating a custom template for your post type and using this code to display that template when appropriate.</p> ]]></description>
<pubDate>Wed, 22 May 2013 01:34:35 GMT</pubDate>
<guid>http://snipplr.com/view/71257/custom-page-templates-in-a-wordpress-plugin/</guid>
</item>
<item>
<title>(PHP) Copy Image From Remote Server To Local - nshakin</title>
<link>http://snipplr.com/view/71229/copy-image-from-remote-server-to-local/</link>
<description><![CDATA[ <p>PHP function to save an image from a remote source then download it to the local server that the script is on.</p> ]]></description>
<pubDate>Sat, 18 May 2013 10:49:57 GMT</pubDate>
<guid>http://snipplr.com/view/71229/copy-image-from-remote-server-to-local/</guid>
</item>
<item>
<title>(PHP) Image Resize on the Fly - brownrl</title>
<link>http://snipplr.com/view/71224/image-resize-on-the-fly/</link>
<description><![CDATA[ <p>This is my simple image resizer on the fly thing. 

-- WARNING --
Resizing and showing images on the fly could potentially kill your server or make the website slow.

Ideally, this should save the resized image in a cache. However, more often than not this method just works, no one complains, and I don't have to make some writable caching directory thing.

If anyting this could give you a good start on how you really want to handle your images.</p> ]]></description>
<pubDate>Sat, 18 May 2013 08:21:43 GMT</pubDate>
<guid>http://snipplr.com/view/71224/image-resize-on-the-fly/</guid>
</item>
<item>
<title>(PHP) Cleanup Downloads Directory - brownrl</title>
<link>http://snipplr.com/view/71223/cleanup-downloads-directory/</link>
<description><![CDATA[ <p>This is a simple script to go into your downloads directory ( mac ). Move everything to a .YYYY-MM-DD folder. Thus you Downloads directory gets cleaned up and anything that was there has been placed into a hidden folder for finding later.

My Downloads folder is just always full of things but I don't want to blast it empty. Re-getting a file from some website is sometimes hard to remember. So I move everything to a backup and start again.</p> ]]></description>
<pubDate>Sat, 18 May 2013 07:56:52 GMT</pubDate>
<guid>http://snipplr.com/view/71223/cleanup-downloads-directory/</guid>
</item>
<item>
<title>(PHP) как получить название раздела, зная его ID - noganno</title>
<link>http://snipplr.com/view/71170/------id/</link>
<description><![CDATA[ <p>как получить название раздела, зная его ID</p> ]]></description>
<pubDate>Tue, 14 May 2013 21:22:55 GMT</pubDate>
<guid>http://snipplr.com/view/71170/------id/</guid>
</item>
<item>
<title>(PHP) Simple PHP CAPTCHA - jreplyide</title>
<link>http://snipplr.com/view/71159/simple-php-captcha/</link>
<description><![CDATA[ <p>CAPTCHAs are often too hard to solve - hard enough to annoy real human users.  This CAPTCHA is easy to understand and to modify and is strong enough to keep out bots whilst being easy on human eyes.  

The source code below will not work on its own - it requires a TTF font file and a word list both of which are available in the ZIP archive available for download from the URL given here.</p> ]]></description>
<pubDate>Tue, 14 May 2013 01:34:04 GMT</pubDate>
<guid>http://snipplr.com/view/71159/simple-php-captcha/</guid>
</item>
<item>
<title>(PHP) Access Request URI in WordPress for template reuse - jefrancomix</title>
<link>http://snipplr.com/view/71150/access-request-uri-in-wordpress-for-template-reuse/</link>
<description><![CDATA[ <p>Easy way to access request URI to WP in order to not repeat whole templates for minor changes</p> ]]></description>
<pubDate>Mon, 13 May 2013 15:02:00 GMT</pubDate>
<guid>http://snipplr.com/view/71150/access-request-uri-in-wordpress-for-template-reuse/</guid>
</item>
<item>
<title>(PHP) Wordpress Widget Basic Stucture - Scoldy</title>
<link>http://snipplr.com/view/71130/wordpress-widget-basic-stucture/</link>
<description><![CDATA[ <p>Wordpress Widget Basic Stucture</p> ]]></description>
<pubDate>Sat, 11 May 2013 00:54:11 GMT</pubDate>
<guid>http://snipplr.com/view/71130/wordpress-widget-basic-stucture/</guid>
</item>
<item>
<title>(PHP) Wordperss Follow with variable - Scoldy</title>
<link>http://snipplr.com/view/71110/wordperss-follow-with-variable/</link>
<description><![CDATA[ <p>Wordperss Follow with variable 
In double quotes you have ability to embed variable
post content: [twitter username='VeronicaDjeneva']Follow me Fools[/twitter]</p> ]]></description>
<pubDate>Thu, 09 May 2013 19:14:06 GMT</pubDate>
<guid>http://snipplr.com/view/71110/wordperss-follow-with-variable/</guid>
</item>
<item>
<title>(PHP) Follow me on twitter short code - Scoldy</title>
<link>http://snipplr.com/view/71109/follow-me-on-twitter-short-code/</link>
<description><![CDATA[ <p>Follow me on twitter flexible user and message 
Add to post [twitter username='VeronicaDjeneva']Follow me Somebody[/twitter]</p> ]]></description>
<pubDate>Thu, 09 May 2013 18:37:49 GMT</pubDate>
<guid>http://snipplr.com/view/71109/follow-me-on-twitter-short-code/</guid>
</item>
<item>
<title>(PHP) Check Parametur - Scoldy</title>
<link>http://snipplr.com/view/71108/check-parametur/</link>
<description><![CDATA[ <p>print_r to see what cumming trough</p> ]]></description>
<pubDate>Thu, 09 May 2013 18:24:39 GMT</pubDate>
<guid>http://snipplr.com/view/71108/check-parametur/</guid>
</item>
<item>
<title>(PHP) Wordpress Plugin Header - Scoldy</title>
<link>http://snipplr.com/view/71107/wordpress-plugin-header/</link>
<description><![CDATA[ <p>Wordpress description</p> ]]></description>
<pubDate>Thu, 09 May 2013 17:00:51 GMT</pubDate>
<guid>http://snipplr.com/view/71107/wordpress-plugin-header/</guid>
</item>
<item>
<title>(PHP) Menu Walker for top-bar (Zurb Foundation) in Wordpress Themes - zartgesotten</title>
<link>http://snipplr.com/view/71091/menu-walker-for-topbar-zurb-foundation-in-wordpress-themes/</link>
<description><![CDATA[ <p>Turns Wordpress custom menus into responsive-ready menu that comes with foundation framework. code goes into functions.php</p> ]]></description>
<pubDate>Wed, 08 May 2013 15:56:11 GMT</pubDate>
<guid>http://snipplr.com/view/71091/menu-walker-for-topbar-zurb-foundation-in-wordpress-themes/</guid>
</item>
<item>
<title>(PHP) Wordpress Remove Admin Menu Items - oneupdzn</title>
<link>http://snipplr.com/view/71073/wordpress-remove-admin-menu-items/</link>
<description><![CDATA[ <p>Remove top level menus and sub menus from the admin menu.</p> ]]></description>
<pubDate>Tue, 07 May 2013 11:17:44 GMT</pubDate>
<guid>http://snipplr.com/view/71073/wordpress-remove-admin-menu-items/</guid>
</item>
<item>
<title>(PHP) in_array_r($needle, $haystack, $strict = true); - bigmichiel</title>
<link>http://snipplr.com/view/71062/inarrayrneedle-haystack-strict--true/</link>
<description><![CDATA[ <p>Search recursive in array</p> ]]></description>
<pubDate>Mon, 06 May 2013 17:41:20 GMT</pubDate>
<guid>http://snipplr.com/view/71062/inarrayrneedle-haystack-strict--true/</guid>
</item>
<item>
<title>(PHP) wordpress functions - xma</title>
<link>http://snipplr.com/view/71054/wordpress-functions/</link>
<description><![CDATA[ <p>function files for worpdress</p> ]]></description>
<pubDate>Mon, 06 May 2013 04:59:59 GMT</pubDate>
<guid>http://snipplr.com/view/71054/wordpress-functions/</guid>
</item>
<item>
<title>(PHP) Magento - check if static block is enabled - apani</title>
<link>http://snipplr.com/view/71053/magento--check-if-static-block-is-enabled/</link>
<description><![CDATA[ <p>A way to check if a static block is enabled/disabled in the backend.</p> ]]></description>
<pubDate>Mon, 06 May 2013 04:24:35 GMT</pubDate>
<guid>http://snipplr.com/view/71053/magento--check-if-static-block-is-enabled/</guid>
</item>
<item>
<title>(PHP) Wordpress 3.0 custom menus - oneupdzn</title>
<link>http://snipplr.com/view/71044/wordpress-30-custom-menus/</link>
<description><![CDATA[ <p>Wordpress 3.0 custom menus</p> ]]></description>
<pubDate>Sun, 05 May 2013 02:34:29 GMT</pubDate>
<guid>http://snipplr.com/view/71044/wordpress-30-custom-menus/</guid>
</item>
<item>
<title>(PHP) Wordpress basic loop - oneupdzn</title>
<link>http://snipplr.com/view/71043/wordpress-basic-loop/</link>
<description><![CDATA[ <p>Basic wordpress loop.</p> ]]></description>
<pubDate>Sun, 05 May 2013 00:46:38 GMT</pubDate>
<guid>http://snipplr.com/view/71043/wordpress-basic-loop/</guid>
</item>
<item>
<title>(PHP) Wordpress header - oneupdzn</title>
<link>http://snipplr.com/view/71042/wordpress-header/</link>
<description><![CDATA[ <p>Wordpress  section.</p> ]]></description>
<pubDate>Sat, 04 May 2013 23:52:45 GMT</pubDate>
<guid>http://snipplr.com/view/71042/wordpress-header/</guid>
</item>
</channel>
</rss>