<?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/tags/type</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 11:47:03 GMT</pubDate>
<item>
<title>(PHP) WordPress: Search Posts by Custom Post Type - depiction</title>
<link>http://snipplr.com/view/70563/wordpress-search-posts-by-custom-post-type/</link>
<description><![CDATA[ <p>Add the ability to search posts by custom post types.</p> ]]></description>
<pubDate>Wed, 27 Mar 2013 04:34:37 GMT</pubDate>
<guid>http://snipplr.com/view/70563/wordpress-search-posts-by-custom-post-type/</guid>
</item>
<item>
<title>(PHP) Custom columns for wordpress custom post type - bitsculptor</title>
<link>http://snipplr.com/view/70009/custom-columns-for-wordpress-custom-post-type/</link>
<description><![CDATA[ <p>This adds custom columns to a custom post type</p> ]]></description>
<pubDate>Wed, 20 Feb 2013 07:05:55 GMT</pubDate>
<guid>http://snipplr.com/view/70009/custom-columns-for-wordpress-custom-post-type/</guid>
</item>
<item>
<title>(Java) Test-Type Exam Correction With Java - eiger824</title>
<link>http://snipplr.com/view/69859/testtype-exam-correction-with-java/</link>
<description><![CDATA[ <p>A simple way of correcting tests with Java. In this piece of code I just defined two possible models or answers, they're all random, but the only thing needed is to update them with valid answers. The length of the test? I just did it for a 10-question test, but it can naturally be extended to the number of answers the teacher may want.</p> ]]></description>
<pubDate>Fri, 08 Feb 2013 06:38:23 GMT</pubDate>
<guid>http://snipplr.com/view/69859/testtype-exam-correction-with-java/</guid>
</item>
<item>
<title>(PHP) Custom Post Type with a Metabox field - eridesigns</title>
<link>http://snipplr.com/view/68020/custom-post-type-with-a-metabox-field/</link>
<description><![CDATA[ <p>Does not work at the moment. So don't copy it.</p> ]]></description>
<pubDate>Tue, 30 Oct 2012 11:53:26 GMT</pubDate>
<guid>http://snipplr.com/view/68020/custom-post-type-with-a-metabox-field/</guid>
</item>
<item>
<title>(PHP) Custom post type, taxonomy, and messages - bitsculptor</title>
<link>http://snipplr.com/view/67757/custom-post-type-taxonomy-and-messages/</link>
<description><![CDATA[ <p>This gives the code for creating a custom post type with all the necessary labels and even custom message support, and it gives the code for a custom taxonomy with that post type.</p> ]]></description>
<pubDate>Tue, 16 Oct 2012 06:27:28 GMT</pubDate>
<guid>http://snipplr.com/view/67757/custom-post-type-taxonomy-and-messages/</guid>
</item>
<item>
<title>(PHP) custom post type custom update message - bitsculptor</title>
<link>http://snipplr.com/view/67717/custom-post-type-custom-update-message/</link>
<description><![CDATA[ <p>This allows you to change the post updated message that wordpress automatically inserts.</p> ]]></description>
<pubDate>Sat, 13 Oct 2012 03:41:10 GMT</pubDate>
<guid>http://snipplr.com/view/67717/custom-post-type-custom-update-message/</guid>
</item>
<item>
<title>(PHP) Get the width, height, type and attr of an image - Some0ne</title>
<link>http://snipplr.com/view/67577/get-the-width-height-type-and-attr-of-an-image/</link>
<description><![CDATA[ <p>Just a rework of http://snipplr.com/view/7523/  with an added switch to change type number to extention name.</p> ]]></description>
<pubDate>Wed, 03 Oct 2012 12:53:29 GMT</pubDate>
<guid>http://snipplr.com/view/67577/get-the-width-height-type-and-attr-of-an-image/</guid>
</item>
<item>
<title>(CSS) styling as per mime type / type of linked item - skopp</title>
<link>http://snipplr.com/view/66944/styling-as-per-mime-type--type-of-linked-item/</link>
<description><![CDATA[ <p>Style links depending on file format

Since CSS3 you can style links depending on some rules also called attribute selectors. This is extremely convenient if you have files in PDF, Zip among other and you want to display a small icon near it. With this technique you can do it without including an image on your link. This snippet shows a small icons next to your links telling the user if it is an external link, an email, a pdf, a zip or whatever you would like.</p> ]]></description>
<pubDate>Wed, 29 Aug 2012 22:55:01 GMT</pubDate>
<guid>http://snipplr.com/view/66944/styling-as-per-mime-type--type-of-linked-item/</guid>
</item>
<item>
<title>(PHP) Custom mime types in Wordpress - scienzedellevanghe</title>
<link>http://snipplr.com/view/65223/custom-mime-types-in-wordpress/</link>
<description><![CDATA[ <p>This code allows the upload of files with extensions usually forbidden in wordpress</p> ]]></description>
<pubDate>Sun, 27 May 2012 22:00:28 GMT</pubDate>
<guid>http://snipplr.com/view/65223/custom-mime-types-in-wordpress/</guid>
</item>
<item>
<title>(PHP) WordPress Query Taxonomy by ID - crypticsoft</title>
<link>http://snipplr.com/view/63640/wordpress-query-taxonomy-by-id/</link>
<description><![CDATA[ <p>When you create a custom post type and need to query by ID then you can pass in the 'field' and the 'terms' with the ID for that post type.</p> ]]></description>
<pubDate>Thu, 01 Mar 2012 00:09:18 GMT</pubDate>
<guid>http://snipplr.com/view/63640/wordpress-query-taxonomy-by-id/</guid>
</item>
<item>
<title>(PHP) Wordpress Custom Post Type : POST ID in post url - nerdsane</title>
<link>http://snipplr.com/view/63478/wordpress-custom-post-type--post-id-in-post-url/</link>
<description><![CDATA[ <p>so you want to have your url structure like :
yourdomain.com/post-type/286

add the following snippet to your functions.php and change the post-type names where appropriate</p> ]]></description>
<pubDate>Tue, 21 Feb 2012 22:29:29 GMT</pubDate>
<guid>http://snipplr.com/view/63478/wordpress-custom-post-type--post-id-in-post-url/</guid>
</item>
<item>
<title>(JavaScript) Javascript checking HTML element type - caringprogrammer</title>
<link>http://snipplr.com/view/63103/javascript-checking-html-element-type/</link>
<description><![CDATA[ <p>How to check Html element type</p> ]]></description>
<pubDate>Mon, 06 Feb 2012 12:11:36 GMT</pubDate>
<guid>http://snipplr.com/view/63103/javascript-checking-html-element-type/</guid>
</item>
<item>
<title>(PHP) Wordpress register Custom Post Type and Custom Taxonomy - i-am-andy</title>
<link>http://snipplr.com/view/62167/wordpress-register-custom-post-type-and-custom-taxonomy/</link>
<description><![CDATA[ <p>Register a Custom Post Type and a Custom Taxonomy in Wordpress</p> ]]></description>
<pubDate>Thu, 29 Dec 2011 23:26:58 GMT</pubDate>
<guid>http://snipplr.com/view/62167/wordpress-register-custom-post-type-and-custom-taxonomy/</guid>
</item>
<item>
<title>(JavaScript) Javascript : Validate As You Type - xmaestro</title>
<link>http://snipplr.com/view/61393/javascript--validate-as-you-type/</link>
<description><![CDATA[ <p>Javascript : Validate As You Type</p> ]]></description>
<pubDate>Thu, 01 Dec 2011 09:08:03 GMT</pubDate>
<guid>http://snipplr.com/view/61393/javascript--validate-as-you-type/</guid>
</item>
<item>
<title>(PHP) Wordpress if statement - custom post type - verticalgrain</title>
<link>http://snipplr.com/view/59951/wordpress-if-statement--custom-post-type/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 19 Oct 2011 15:36:03 GMT</pubDate>
<guid>http://snipplr.com/view/59951/wordpress-if-statement--custom-post-type/</guid>
</item>
<item>
<title>(PHP) Custom post type tags/categories archive page - IronMANro</title>
<link>http://snipplr.com/view/58834/custom-post-type-tagscategories-archive-page/</link>
<description><![CDATA[ <p>add this in functions.php</p> ]]></description>
<pubDate>Tue, 20 Sep 2011 17:24:30 GMT</pubDate>
<guid>http://snipplr.com/view/58834/custom-post-type-tagscategories-archive-page/</guid>
</item>
<item>
<title>(PHP) Get Posts from Custom Post Type - i-am-andy</title>
<link>http://snipplr.com/view/58108/get-posts-from-custom-post-type/</link>
<description><![CDATA[ <p>Get posts from a Custom Post Type</p> ]]></description>
<pubDate>Tue, 23 Aug 2011 22:22:10 GMT</pubDate>
<guid>http://snipplr.com/view/58108/get-posts-from-custom-post-type/</guid>
</item>
<item>
<title>(CSS) Baseline typography for TAMU Library websites - jeremytarpley</title>
<link>http://snipplr.com/view/54355/baseline-typography-for-tamu-library-websites/</link>
<description><![CDATA[ <p>css starting point for library websites - adds a uniform size, font weights and colors, etc for our websites</p> ]]></description>
<pubDate>Wed, 25 May 2011 04:05:39 GMT</pubDate>
<guid>http://snipplr.com/view/54355/baseline-typography-for-tamu-library-websites/</guid>
</item>
<item>
<title>(SQL) Cambiare tipo in colonna ORACLE - tuffo19</title>
<link>http://snipplr.com/view/53016/cambiare-tipo-in-colonna-oracle/</link>
<description><![CDATA[ <p>Per cambiare il tipo di dato in una colonna devo fare un giretto...</p> ]]></description>
<pubDate>Thu, 05 May 2011 01:02:43 GMT</pubDate>
<guid>http://snipplr.com/view/53016/cambiare-tipo-in-colonna-oracle/</guid>
</item>
<item>
<title>(PHP) Humanize MIME type - jatkins</title>
<link>http://snipplr.com/view/52610/humanize-mime-type/</link>
<description><![CDATA[ <p>Released into the public domain. Amend `$file_types` as you wish to add more types.</p> ]]></description>
<pubDate>Wed, 27 Apr 2011 01:01:31 GMT</pubDate>
<guid>http://snipplr.com/view/52610/humanize-mime-type/</guid>
</item>
</channel>
</rss>