<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Code Snippets : Awesome collection of code snippets for all your web needs: WordPress, jQuery, CSS and (X)HTML.</title>
	<atom:link href="http://codesnippets.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://codesnippets.info</link>
	<description>copy / paste &#38; enjoy</description>
	<lastBuildDate>Wed, 29 Sep 2010 21:35:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Change Login logo</title>
		<link>http://codesnippets.info/wordpress/change-login-logo/</link>
		<comments>http://codesnippets.info/wordpress/change-login-logo/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 21:35:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://codesnippets.info/?p=399</guid>
		<description><![CDATA[Change the login-logo at the login-page.]]></description>
			<content:encoded><![CDATA[<p>Change the login-logo at the login-page.</p>
<pre class="brush: php; title: ; notranslate">function custom_login_logo() {
    echo '&lt;style type=&quot;text/css&quot;&gt;
        h1 a { background-image:url('.get_bloginfo('template_directory').'/images/login_logo.png) !important; }
    &lt;/style&gt;';
}
add_action('login_head', 'custom_login_logo');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://codesnippets.info/wordpress/change-login-logo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change footer-text in WP Admin</title>
		<link>http://codesnippets.info/wordpress/change-footer-text-in-wp-admin/</link>
		<comments>http://codesnippets.info/wordpress/change-footer-text-in-wp-admin/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 21:34:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://codesnippets.info/?p=397</guid>
		<description><![CDATA[Change the text in the bottom of the WP admin pages.]]></description>
			<content:encoded><![CDATA[<p>Change the text in the bottom of the WP admin pages.</p>
<pre class="brush: php; title: ; notranslate">function remove_footer_admin () {
  echo 'My footer text. Thank you &lt;a href=&quot;http://wordpress.org&quot;&gt;WordPress&lt;/a&gt; for giving me this filter.';
}
add_filter('admin_footer_text', 'remove_footer_admin');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://codesnippets.info/wordpress/change-footer-text-in-wp-admin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Admin logo</title>
		<link>http://codesnippets.info/wordpress/change-admin-logo/</link>
		<comments>http://codesnippets.info/wordpress/change-admin-logo/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 21:31:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://codesnippets.info/?p=395</guid>
		<description><![CDATA[Change the logo in the Admin Panel to an image of your choise. Put your logo in the image-folder and call it admin_logo.png. Credits]]></description>
			<content:encoded><![CDATA[<p>Change the logo in the Admin Panel to an image of your choise.</p>
<pre class="brush: php; title: ; notranslate">
function custom_admin_logo() {
  echo '&lt;style type=&quot;text/css&quot;&gt;
          #header-logo { background-image: url('.get_bloginfo('template_directory').'/images/admin_logo.png) !important; }
        &lt;/style&gt;';
}
add_action('admin_head', 'custom_admin_logo');
</pre>
<p>Put your logo in the image-folder and call it admin_logo.png.</p>
<p><a href="http://wp-snippets.com">Credits</a></p>
]]></content:encoded>
			<wfw:commentRss>http://codesnippets.info/wordpress/change-admin-logo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Post/Page Thumbnails</title>
		<link>http://codesnippets.info/wordpress/add-postpage-thumbnails/</link>
		<comments>http://codesnippets.info/wordpress/add-postpage-thumbnails/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 21:29:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://codesnippets.info/?p=393</guid>
		<description><![CDATA[Ever thought about having a featured image on your posts or pages? Well, here it is. Add the following in functions.php and you will find a new meta-box in the edit page, that allows you to choose a featured image for the post. This adds support for pages only: And this adds support for posts [...]]]></description>
			<content:encoded><![CDATA[<p>Ever thought about having a featured image on your posts or pages? Well, here it is. Add the following in functions.php and you will find a new meta-box in the edit page, that allows you to choose a featured image for the post. </p>
<pre class="brush: php; title: ; notranslate">add_theme_support( 'post-thumbnails' );</pre>
<p>This adds support for pages only: </p>
<pre class="brush: php; title: ; notranslate">add_theme_support( 'post-thumbnails', array( 'page' ) );</pre>
<p>And this adds support for posts only: </p>
<pre class="brush: php; title: ; notranslate">add_theme_support( 'post-thumbnails', array( 'post' ) );</pre>
<p>To get the thumbnail in your post, you add the following inside the loop: </p>
<pre class="brush: php; title: ; notranslate">if ( has_post_thumbnail() ) {
set_post_thumbnail_size( 400, 150 ); # width, height #
the_post_thumbnail();
}
</pre>
<p><a href="http://wp-snippets.com/">Credits</a></p>
]]></content:encoded>
			<wfw:commentRss>http://codesnippets.info/wordpress/add-postpage-thumbnails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DOCTYPE</title>
		<link>http://codesnippets.info/html/doctype/</link>
		<comments>http://codesnippets.info/html/doctype/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 21:23:24 +0000</pubDate>
		<dc:creator>madalin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://codesnippets.info/?p=390</guid>
		<description><![CDATA[HTML 4.01 Strict HTML 4.01 Transitional HTML 4.01 Frameset XHTML 1.0 Transitional XHTML 1.0 Frameset XHTML 1.1 HTML5]]></description>
			<content:encoded><![CDATA[<p>HTML 4.01 Strict</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
</pre>
<p>HTML 4.01 Transitional</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
</pre>
<p>HTML 4.01 Frameset</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Frameset//EN&quot; &quot;http://www.w3.org/TR/html4/frameset.dtd&quot;&gt;
</pre>
<p>XHTML 1.0 Transitional</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
</pre>
<p>XHTML 1.0 Frameset</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Frameset//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd&quot;&gt;
</pre>
<p>XHTML 1.1</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;
</pre>
<p>HTML5</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://codesnippets.info/html/doctype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Video Support</title>
		<link>http://codesnippets.info/html/html5-ideo-support/</link>
		<comments>http://codesnippets.info/html/html5-ideo-support/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 21:14:06 +0000</pubDate>
		<dc:creator>madalin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://codesnippets.info/?p=386</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: xml; title: ; notranslate">
&lt;video controls preload&gt;
	&lt;source src=&quot;file.ogv&quot; type=&quot;video/ogg; codecs='vorbis, theora'&quot; /&gt;
	&lt;source src=&quot;file.mp4&quot; type=&quot;video/mp4; 'codecs='avc1.42E01E, mp4a.40.2'&quot; /&gt;
&lt;/video&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://codesnippets.info/html/html5-ideo-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Audio Support</title>
		<link>http://codesnippets.info/html/html5audio-support/</link>
		<comments>http://codesnippets.info/html/html5audio-support/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 21:10:14 +0000</pubDate>
		<dc:creator>madalin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://codesnippets.info/?p=384</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: xml; title: ; notranslate">
&lt;audio autoplay=&quot;autoplay&quot; controls=&quot;controls&quot;&gt;
  &lt;source src=&quot;file.ogg&quot; /&gt;
   &lt;source src=&quot;file.mp3&quot; /&gt;
   &lt;a href=&quot;file.mp3&quot; title=&quot;Download this file&quot;&gt;Download this file.&lt;/a&gt;
&lt;/audio&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://codesnippets.info/html/html5audio-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 transitions</title>
		<link>http://codesnippets.info/css/css3-transitions/</link>
		<comments>http://codesnippets.info/css/css3-transitions/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 01:04:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://codesnippets.info/?p=380</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: css; title: ; notranslate">
a:hover {
   color:#000;
   -webkit-transition:color 100ms ease-in;
   -moz-transition:color 100ms ease-in;
   -o-transition:color 100ms ease-in;
   transition:color 100ms ease-in;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://codesnippets.info/css/css3-transitions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 Embedded Font Face</title>
		<link>http://codesnippets.info/css/css3-embedded-font-face/</link>
		<comments>http://codesnippets.info/css/css3-embedded-font-face/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 11:52:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://codesnippets.info/?p=378</guid>
		<description><![CDATA[CSS3 can render type using several font formats: “truetype” (ttf), “opentype” (otf), “embedded-opentype” (eot) and “scalable-vector-graphic” (svg,svgz). NOTE: For some reason, using both @font-face and text-shadow will cause problems in Google Chrome. The reason IE has been given a ‘?’ next to it for the @font-face attribute, is because it will work using the popular [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: css; title: ; notranslate">
@font-face {
 font-family: SketchRockwell;
src: url(‘SketchRockwell.ttf’);
}
.my_CSS3_class {
 font-family: SketchRockwell;
font-size: 3.2em;
}
</pre>
<p>CSS3 can render type using several font formats: “truetype” (ttf), “opentype” (otf), “embedded-opentype” (eot) and “scalable-vector-graphic” (svg,svgz).</p>
<p>NOTE: For some reason, using both @font-face and text-shadow will cause problems in Google Chrome. The reason IE has been given a ‘?’ next to it for the @font-face attribute, is because it will work using the popular .eot font file…</p>
]]></content:encoded>
			<wfw:commentRss>http://codesnippets.info/css/css3-embedded-font-face/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>outline an element box</title>
		<link>http://codesnippets.info/css/outline-an-element-box/</link>
		<comments>http://codesnippets.info/css/outline-an-element-box/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 09:13:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://codesnippets.info/?p=375</guid>
		<description><![CDATA[Browser Support : Firefox, Chrome, Safari]]></description>
			<content:encoded><![CDATA[<pre class="brush: css; title: ; notranslate">
#outline {
width: 200px;
height: 150px;
background-color:#F00;
outline: solid 1px #f00;
outline-offset: 5px;
}
</pre>
<p>Browser Support : Firefox, Chrome, Safari</p>
]]></content:encoded>
			<wfw:commentRss>http://codesnippets.info/css/outline-an-element-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

