<?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/tags/slug</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 18:04:53 GMT</pubDate>
<item>
<title>(PHP) CakePHP - generate unique slug - artaserse</title>
<link>http://snipplr.com/view/67870/cakephp--generate-unique-slug/</link>
<description><![CDATA[ <p>this method generates and returns a unique slug, given a string.</p> ]]></description>
<pubDate>Tue, 23 Oct 2012 01:12:40 GMT</pubDate>
<guid>http://snipplr.com/view/67870/cakephp--generate-unique-slug/</guid>
</item>
<item>
<title>(PHP) SimpleText - valenzine</title>
<link>http://snipplr.com/view/67257/simpletext/</link>
<description><![CDATA[ <p>Taken from http://stackoverflow.com/a/10997500</p> ]]></description>
<pubDate>Thu, 20 Sep 2012 01:40:25 GMT</pubDate>
<guid>http://snipplr.com/view/67257/simpletext/</guid>
</item>
<item>
<title>(PHP) Get WP Page Slug - Farhan</title>
<link>http://snipplr.com/view/66558/get-wp-page-slug/</link>
<description><![CDATA[ <p>Function to get wordpress post/page slug to be used on for custom class etc</p> ]]></description>
<pubDate>Tue, 07 Aug 2012 10:04:53 GMT</pubDate>
<guid>http://snipplr.com/view/66558/get-wp-page-slug/</guid>
</item>
<item>
<title>(PHP) Get WordPress theme menu name in slug format from location parameter - Huskie</title>
<link>http://snipplr.com/view/58556/get-wordpress-theme-menu-name-in-slug-format-from-location-parameter/</link>
<description><![CDATA[ <p>Example call: $menuName = sleek_get_theme_menu_name('footer-menu')</p> ]]></description>
<pubDate>Fri, 09 Sep 2011 20:03:44 GMT</pubDate>
<guid>http://snipplr.com/view/58556/get-wordpress-theme-menu-name-in-slug-format-from-location-parameter/</guid>
</item>
<item>
<title>(PHP) Create URL Slug from Post Title - dubogii</title>
<link>http://snipplr.com/view/53677/create-url-slug-from-post-title/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 17 May 2011 19:58:05 GMT</pubDate>
<guid>http://snipplr.com/view/53677/create-url-slug-from-post-title/</guid>
</item>
<item>
<title>(PHP) Transliterate existing cyrillic slugs (post_name) in wordpress - gryzzly</title>
<link>http://snipplr.com/view/50246/transliterate-existing-cyrillic-slugs-postname-in-wordpress/</link>
<description><![CDATA[ <p>While working on the iteration of a blog with russian contents we had to change the slugs from cyrillic to transliterated russian. 

[RusToLat](http://mywordpress.ru/plugins/rustolat/) is a great plugin that does just that, but unfortunately it only does the transliteration for new or "edited" posts (i.e. you have to open the post at least once and "edit" the permalink, then it will be transliterated).

Since this blog more than 500 posts this manual updating wasn't an option so we wrote this simple script. Maybe it will save somebody some time.

You'd probably better back-up your database before updating it (google for mysqldump syntax).</p> ]]></description>
<pubDate>Tue, 08 Mar 2011 06:33:03 GMT</pubDate>
<guid>http://snipplr.com/view/50246/transliterate-existing-cyrillic-slugs-postname-in-wordpress/</guid>
</item>
<item>
<title>(PHP) WordPress - Get Post or Page ID By Name - levinet</title>
<link>http://snipplr.com/view/39959/wordpress--get-post-or-page-id-by-name/</link>
<description><![CDATA[ <p>Returns the post or page id using the name/slug of a page.</p> ]]></description>
<pubDate>Fri, 03 Sep 2010 18:29:21 GMT</pubDate>
<guid>http://snipplr.com/view/39959/wordpress--get-post-or-page-id-by-name/</guid>
</item>
<item>
<title>(PHP) Wordpress: Slug as string - S_Park</title>
<link>http://snipplr.com/view/38062/wordpress-slug-as-string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 30 Jul 2010 00:47:14 GMT</pubDate>
<guid>http://snipplr.com/view/38062/wordpress-slug-as-string/</guid>
</item>
<item>
<title>(PHP) WordPress: Get the post slug - mihael</title>
<link>http://snipplr.com/view/36470/wordpress-get-the-post-slug/</link>
<description><![CDATA[ <p>This function returns the slug fot the given post...</p> ]]></description>
<pubDate>Tue, 29 Jun 2010 23:44:34 GMT</pubDate>
<guid>http://snipplr.com/view/36470/wordpress-get-the-post-slug/</guid>
</item>
<item>
<title>(PHP) Regular expression to match a Slug - rupakdhiman</title>
<link>http://snipplr.com/view/24360/regular-expression-to-match-a-slug/</link>
<description><![CDATA[ <p>This is a regular expression to match a Slug. Slug that contains hyphens ("-").</p> ]]></description>
<pubDate>Sun, 06 Dec 2009 12:25:09 GMT</pubDate>
<guid>http://snipplr.com/view/24360/regular-expression-to-match-a-slug/</guid>
</item>
<item>
<title>(PHP) Slugify a String in PHP - suibhne</title>
<link>http://snipplr.com/view/22741/slugify-a-string-in-php/</link>
<description><![CDATA[ <p>Function which will slugify a string for use in URLs, taking out any spaces and other non-URL useful characters.</p> ]]></description>
<pubDate>Sun, 08 Nov 2009 12:06:34 GMT</pubDate>
<guid>http://snipplr.com/view/22741/slugify-a-string-in-php/</guid>
</item>
<item>
<title>(PHP) slugString - saturnxxi</title>
<link>http://snipplr.com/view/21994/slugstring/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 27 Oct 2009 17:13:17 GMT</pubDate>
<guid>http://snipplr.com/view/21994/slugstring/</guid>
</item>
<item>
<title>(PHP) Wordpress Get Category Slug - dsheetz</title>
<link>http://snipplr.com/view/17434/wordpress-get-category-slug/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 24 Jul 2009 16:57:15 GMT</pubDate>
<guid>http://snipplr.com/view/17434/wordpress-get-category-slug/</guid>
</item>
<item>
<title>(PHP) Wordpress get page slug - jimmysessions</title>
<link>http://snipplr.com/view/11411/wordpress-get-page-slug/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 21 Jan 2009 15:36:47 GMT</pubDate>
<guid>http://snipplr.com/view/11411/wordpress-get-page-slug/</guid>
</item>
<item>
<title>(PHP) Make string into post slug - evanwalsh</title>
<link>http://snipplr.com/view/4994/make-string-into-post-slug/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 11 Feb 2008 16:03:39 GMT</pubDate>
<guid>http://snipplr.com/view/4994/make-string-into-post-slug/</guid>
</item>
<item>
<title>(PHP) Convert String to Slug - tylerhall</title>
<link>http://snipplr.com/view/2809/convert-string-to-slug/</link>
<description><![CDATA[ <p>This filters a string into a "friendly" string for use in URL's. It converts the string to lower case and replaces any non-alphanumeric (and accented) characters with dashes.</p> ]]></description>
<pubDate>Wed, 06 Jun 2007 11:38:06 GMT</pubDate>
<guid>http://snipplr.com/view/2809/convert-string-to-slug/</guid>
</item>
<item>
<title>(PHP) Create post slug from title - tylerhall</title>
<link>http://snipplr.com/view/334/create-post-slug-from-title/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 10 Jul 2006 12:13:54 GMT</pubDate>
<guid>http://snipplr.com/view/334/create-post-slug-from-title/</guid>
</item>
</channel>
</rss>