<?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 16:15:52 +0000</lastBuildDate>
    <item>
      <title>(Smarty) Prestashop : Base url - blueocto</title>
      <link>https://snipplr.com/view/56004/prestashop--base-url</link>
      <description>&lt;p&gt;If you are developing a website and will be moving from one URL/Domain to another, it easier to have href="thedomain.com/whateverthepage.php"&#13;
&#13;
So to do this in a Prestashop theme use the following code.&lt;/p&gt;</description>
      <pubDate>Fri, 01 Jul 2011 21:57:58 UTC</pubDate>
      <guid>https://snipplr.com/view/56004/prestashop--base-url</guid>
    </item>
    <item>
      <title>(CSS) Cross Browser CSS Opacity - blueocto</title>
      <link>https://snipplr.com/view/52734/cross-browser-css-opacity</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 28 Apr 2011 19:10:45 UTC</pubDate>
      <guid>https://snipplr.com/view/52734/cross-browser-css-opacity</guid>
    </item>
    <item>
      <title>(PHP) Wordpress : Breadcrumbs without plugin - blueocto</title>
      <link>https://snipplr.com/view/52164/wordpress--breadcrumbs-without-plugin</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 16 Apr 2011 00:14:00 UTC</pubDate>
      <guid>https://snipplr.com/view/52164/wordpress--breadcrumbs-without-plugin</guid>
    </item>
    <item>
      <title>(PHP) Wordpress : Change the Contact Info Form - blueocto</title>
      <link>https://snipplr.com/view/52163/wordpress--change-the-contact-info-form</link>
      <description>&lt;p&gt;In the User settings, there is a web form called Contact Info. It has input fields for the userâ€™s AIM account, Yahoo IM account, and so on.&#13;
&#13;
But how about Twitter? What about Facebook? Out of the box, the Contact Info panel doesnâ€™t have these input fields.&#13;
&#13;
If you have multiple users on your WordPress blog, you might want to add new fields and remove old ones.&lt;/p&gt;</description>
      <pubDate>Sat, 16 Apr 2011 00:05:50 UTC</pubDate>
      <guid>https://snipplr.com/view/52163/wordpress--change-the-contact-info-form</guid>
    </item>
    <item>
      <title>(PHP) Wordpress : Edit the Help Dropdown Text - blueocto</title>
      <link>https://snipplr.com/view/52162/wordpress--edit-the-help-dropdown-text</link>
      <description>&lt;p&gt;This is a great place to add your own custom Help text for a client. You can even customize it for different Admin panels. For example, you can add a different Help text for the Add New Post panel and another one for the Comments panel.&#13;
&#13;
Hereâ€™s how you go about it:&#13;
&#13;
To find what file you should add the action to, just check the address bar in your browser and add the load- prefix right before the file name. For example, if you wanted to add the custom Help text to the Add New Post panel, which has a file name of post-new.php, then you would use load-post-new.php as the parameter of the add_action function shown above.&lt;/p&gt;</description>
      <pubDate>Sat, 16 Apr 2011 00:05:07 UTC</pubDate>
      <guid>https://snipplr.com/view/52162/wordpress--edit-the-help-dropdown-text</guid>
    </item>
    <item>
      <title>(PHP) Wordpress : Remove the Visual Editor - blueocto</title>
      <link>https://snipplr.com/view/52161/wordpress--remove-the-visual-editor</link>
      <description>&lt;p&gt;Itâ€™s possible to disable it conditionally for each WordPress user by going to Users &gt; Your Profile. However, if you want to remove it completely, you can add the following filter:&lt;/p&gt;</description>
      <pubDate>Sat, 16 Apr 2011 00:04:18 UTC</pubDate>
      <guid>https://snipplr.com/view/52161/wordpress--remove-the-visual-editor</guid>
    </item>
    <item>
      <title>(CSS) Replace H1 tag with Image - blueocto</title>
      <link>https://snipplr.com/view/49285/replace-h1-tag-with-image</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 20 Feb 2011 12:47:02 UTC</pubDate>
      <guid>https://snipplr.com/view/49285/replace-h1-tag-with-image</guid>
    </item>
    <item>
      <title>(CSS) Create a centred horizontal navigation - blueocto</title>
      <link>https://snipplr.com/view/49052/create-a-centred-horizontal-navigation</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 16 Feb 2011 00:11:40 UTC</pubDate>
      <guid>https://snipplr.com/view/49052/create-a-centred-horizontal-navigation</guid>
    </item>
    <item>
      <title>(HTML) Cross-Browser HTML5 Video With Flash or Silverlight Fall-back - blueocto</title>
      <link>https://snipplr.com/view/48500/crossbrowser-html5-video-with-flash-or-silverlight-fallback</link>
      <description>&lt;p&gt;Until recently, playing video files in a web page was notoriously complicated. The user requires a Flash or Silverlight plug-in and even the simplest HTML is a confusing mess.&#13;
&#13;
Few HTML5 features excite developers more than native audio and video. The &lt;audio&gt; and &lt;video&gt; tags allow you to play media files in an HTML5-aware browser without a plug-in. The elements also become part of the DOM so you can create your own player controls, add captions and synchronize JavaScript events with media playback. As a bonus, the basic HTML5 code is far easier to understand.&lt;/p&gt;</description>
      <pubDate>Mon, 07 Feb 2011 09:03:04 UTC</pubDate>
      <guid>https://snipplr.com/view/48500/crossbrowser-html5-video-with-flash-or-silverlight-fallback</guid>
    </item>
    <item>
      <title>(CSS) The New Bulletproof @Font-Face Syntax - blueocto</title>
      <link>https://snipplr.com/view/48426/the-new-bulletproof-fontface-syntax</link>
      <description>&lt;p&gt;We've tested on:&#13;
&#13;
Safari 5.03, IE 6-9, Firefox 3.6-4, Chrome 8, iOS 3.2-4.2, Android 2.2-2.3, Opera 11&lt;/p&gt;</description>
      <pubDate>Fri, 04 Feb 2011 23:24:46 UTC</pubDate>
      <guid>https://snipplr.com/view/48426/the-new-bulletproof-fontface-syntax</guid>
    </item>
    <item>
      <title>(CSS) CSS Rounded Corners - blueocto</title>
      <link>https://snipplr.com/view/47664/css-rounded-corners</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 21 Jan 2011 22:24:30 UTC</pubDate>
      <guid>https://snipplr.com/view/47664/css-rounded-corners</guid>
    </item>
    <item>
      <title>(PHP) Random Images Script - blueocto</title>
      <link>https://snipplr.com/view/46939/random-images-script</link>
      <description>&lt;p&gt;Put your images in a folder called 'random' in your ROOT directory.&#13;
&#13;
Please this script at the top of your page:&lt;/p&gt;</description>
      <pubDate>Tue, 11 Jan 2011 23:01:00 UTC</pubDate>
      <guid>https://snipplr.com/view/46939/random-images-script</guid>
    </item>
    <item>
      <title>(CSS) 12 Examples of Paragraph Typography - blueocto</title>
      <link>https://snipplr.com/view/46938/12-examples-of-paragraph-typography</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 11 Jan 2011 22:55:37 UTC</pubDate>
      <guid>https://snipplr.com/view/46938/12-examples-of-paragraph-typography</guid>
    </item>
    <item>
      <title>(CSS) Cross Browser Transparency - blueocto</title>
      <link>https://snipplr.com/view/46931/cross-browser-transparency</link>
      <description>&lt;p&gt;The CSS3 standard introduces the opacity property for making elements opaque or transparent. Older browser also have support for opacity using various other properties and, in the case of Internet Explorer, filters. This post looks at how to achieve cross-browser, and backward compatible transparency.&lt;/p&gt;</description>
      <pubDate>Tue, 11 Jan 2011 22:04:56 UTC</pubDate>
      <guid>https://snipplr.com/view/46931/cross-browser-transparency</guid>
    </item>
    <item>
      <title>(CSS) CSS Curly Quotes - blueocto</title>
      <link>https://snipplr.com/view/46930/css-curly-quotes</link>
      <description>&lt;p&gt;&lt;p&gt;Simon Collison recently explained how to create Swooshy Curly Quotes Without Images using CSS. Itâ€™s a nice technique that works cross-browser, but you have to add &lt; span &gt; tags to your markup for it to work. Here is an alternate technique that requires no changes to your markup that will work in modern CSS2 compatible browsers like Firefox.&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 11 Jan 2011 21:18:49 UTC</pubDate>
      <guid>https://snipplr.com/view/46930/css-curly-quotes</guid>
    </item>
    <item>
      <title>(CSS) 3 Columns, liquid width, left rail tallest - blueocto</title>
      <link>https://snipplr.com/view/46929/3-columns-liquid-width-left-rail-tallest</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 11 Jan 2011 21:16:15 UTC</pubDate>
      <guid>https://snipplr.com/view/46929/3-columns-liquid-width-left-rail-tallest</guid>
    </item>
    <item>
      <title>(CSS) 3 Columns, liquid width, content - blueocto</title>
      <link>https://snipplr.com/view/46928/3-columns-liquid-width-content</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 11 Jan 2011 21:15:34 UTC</pubDate>
      <guid>https://snipplr.com/view/46928/3-columns-liquid-width-content</guid>
    </item>
    <item>
      <title>(CSS) 3 Columns, fixed width, content tallest - blueocto</title>
      <link>https://snipplr.com/view/46927/3-columns-fixed-width-content-tallest</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 11 Jan 2011 21:14:52 UTC</pubDate>
      <guid>https://snipplr.com/view/46927/3-columns-fixed-width-content-tallest</guid>
    </item>
    <item>
      <title>(CSS) 2 Columns, liquid, right rail, rail tallest - blueocto</title>
      <link>https://snipplr.com/view/46926/2-columns-liquid-right-rail-rail-tallest</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 11 Jan 2011 21:14:01 UTC</pubDate>
      <guid>https://snipplr.com/view/46926/2-columns-liquid-right-rail-rail-tallest</guid>
    </item>
    <item>
      <title>(CSS) 2 Columns, liquid, left rail, rail tallest - blueocto</title>
      <link>https://snipplr.com/view/46925/2-columns-liquid-left-rail-rail-tallest</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 11 Jan 2011 21:12:27 UTC</pubDate>
      <guid>https://snipplr.com/view/46925/2-columns-liquid-left-rail-rail-tallest</guid>
    </item>
    <item>
      <title>(CSS) Drop shadow with CSS for all web browsers - blueocto</title>
      <link>https://snipplr.com/view/46409/drop-shadow-with-css-for-all-web-browsers</link>
      <description>&lt;p&gt;&lt;p&gt;Believe me or not, but all of these web browsers we can offer shadows with CSS:&lt;/p&gt;&#13;
&#13;
&lt;pre&gt;&lt;code&gt;* Firefox 3.5+&#13;
* Safari 3+&#13;
* Google Chrome&#13;
* Opera 10.50&#13;
* Internet Explorer 5.5&#13;
&lt;/code&gt;&lt;/pre&gt;&#13;
&#13;
&lt;p&gt;The first value describes the x-offset (could be a negative value as well), the second the y-offset, the third the radius of the shadow and the fourth the color of it. Opera 10.50 (currently only available on Windows) is the first web browser to have an implementation without a vendor-prefix, whereas Firefox, Safari and Google Chrome all need it for now.&lt;/p&gt;&#13;
&#13;
&lt;p&gt;(The problem with the DropShadow filter is that the shadow is solid, and not fluffy as desired, although it offers easy values for X and Y. The Shadow filter on the other hand offers a nice shadow, but instead of x and y offset, we need to specify direction and strength the set the length of the shadow.)&lt;/p&gt;&#13;
&lt;p&gt; So, this code makes it work in all those web browsers:&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 03 Jan 2011 07:41:35 UTC</pubDate>
      <guid>https://snipplr.com/view/46409/drop-shadow-with-css-for-all-web-browsers</guid>
    </item>
    <item>
      <title>(CSS) Vertical centering with line-height - blueocto</title>
      <link>https://snipplr.com/view/46367/vertical-centering-with-lineheight</link>
      <description>&lt;p&gt;When you have a container with fixed height you can use line-height property to vertically center the content.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Jan 2011 03:17:06 UTC</pubDate>
      <guid>https://snipplr.com/view/46367/vertical-centering-with-lineheight</guid>
    </item>
    <item>
      <title>(CSS) Prevent oversized content to break fixed width floated layouts - blueocto</title>
      <link>https://snipplr.com/view/46366/prevent-oversized-content-to-break-fixed-width-floated-layouts</link>
      <description>&lt;p&gt;When oversized content (i.e. wide image) is placed in fixed width floated container, it may break the layout. To prevent that use this trick. It will hide a part of the content but at least your layout structure will remain intact.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Jan 2011 03:16:26 UTC</pubDate>
      <guid>https://snipplr.com/view/46366/prevent-oversized-content-to-break-fixed-width-floated-layouts</guid>
    </item>
    <item>
      <title>(CSS) Prevent line breaks in links - blueocto</title>
      <link>https://snipplr.com/view/46365/prevent-line-breaks-in-links</link>
      <description>&lt;p&gt;This little trick will prevent line breaks on your links. I recommend using this with long text to avoid having links break into 2 lines.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Jan 2011 03:15:40 UTC</pubDate>
      <guid>https://snipplr.com/view/46365/prevent-line-breaks-in-links</guid>
    </item>
    <item>
      <title>(CSS) Always show Firefox scrollbar - blueocto</title>
      <link>https://snipplr.com/view/46364/always-show-firefox-scrollbar</link>
      <description>&lt;p&gt;Firefox hides vertical scrollbar by default. So, when you browse a site that have different page heights you notice a horizontal shift. This code will always display a scrollbar and prevent shifting.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Jan 2011 03:14:55 UTC</pubDate>
      <guid>https://snipplr.com/view/46364/always-show-firefox-scrollbar</guid>
    </item>
    <item>
      <title>(CSS) Centering block elements horizontally - blueocto</title>
      <link>https://snipplr.com/view/46363/centering-block-elements-horizontally</link>
      <description>&lt;p&gt;For all modern browser this line of css is enough to horizontally center a block level element.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Jan 2011 03:14:09 UTC</pubDate>
      <guid>https://snipplr.com/view/46363/centering-block-elements-horizontally</guid>
    </item>
    <item>
      <title>(CSS) Remove vertical textarea scrollbar in IE - blueocto</title>
      <link>https://snipplr.com/view/46362/remove-vertical-textarea-scrollbar-in-ie</link>
      <description>&lt;p&gt;Textareas in IE have vertical scrollbar visible by default. If you want those removed (I know I do) use this line.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Jan 2011 03:13:21 UTC</pubDate>
      <guid>https://snipplr.com/view/46362/remove-vertical-textarea-scrollbar-in-ie</guid>
    </item>
    <item>
      <title>(CSS) Force page breaks when printing your document - blueocto</title>
      <link>https://snipplr.com/view/46361/force-page-breaks-when-printing-your-document</link>
      <description>&lt;p&gt;With this line of code you can control places where you want your pages to break when printing a document.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Jan 2011 03:12:32 UTC</pubDate>
      <guid>https://snipplr.com/view/46361/force-page-breaks-when-printing-your-document</guid>
    </item>
    <item>
      <title>(CSS) Remove active link borders - blueocto</title>
      <link>https://snipplr.com/view/46360/remove-active-link-borders</link>
      <description>&lt;p&gt;This will remove dotted outline from focused or active links.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Jan 2011 03:11:02 UTC</pubDate>
      <guid>https://snipplr.com/view/46360/remove-active-link-borders</guid>
    </item>
    <item>
      <title>(PHP) Wordpress : header.php - blueocto</title>
      <link>https://snipplr.com/view/46225/wordpress--headerphp</link>
      <description>&lt;p&gt;&lt;pre&gt;&lt;code&gt;* Use the proper DOCTYPE.&#13;
* The opening &lt;html&gt; tag should include language_attributes().&#13;
* The "content-type" meta element should be placed before everything else, including the title element.&#13;
* Use bloginfo() to fetch the title and description.&#13;
* Use automatic feed links to add feed links.&#13;
* Add a call to wp_head(). Plugins use this action hook to add their own scripts, stylesheets, and other functionality. &#13;
&lt;/code&gt;&lt;/pre&gt;&#13;
&#13;
&lt;p&gt;Here's an example of a correctly-formatted HTML5 compliant head area:&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 29 Dec 2010 11:24:29 UTC</pubDate>
      <guid>https://snipplr.com/view/46225/wordpress--headerphp</guid>
    </item>
    <item>
      <title>(CSS) Wordpress Stylesheet - blueocto</title>
      <link>https://snipplr.com/view/46222/wordpress-stylesheet</link>
      <description>&lt;p&gt;In addition to CSS style information for your theme, style.css provides details about the Theme in the form of comments. The stylesheet must provide details about the Theme in the form of comments. No two Themes are allowed to have the same details listed in their comment headers, as this will lead to problems in the Theme selection dialog. If you make your own Theme by copying an existing one, make sure you change this information first.&#13;
&#13;
The following is an example of the first few lines of the stylesheet, called the stylesheet header, for the Theme "Twenty Ten":&lt;/p&gt;</description>
      <pubDate>Wed, 29 Dec 2010 10:40:50 UTC</pubDate>
      <guid>https://snipplr.com/view/46222/wordpress-stylesheet</guid>
    </item>
    <item>
      <title>(XHTML) 100% Height 4 column layout - blueocto</title>
      <link>https://snipplr.com/view/46189/100-height-4-column-layout</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 28 Dec 2010 11:49:03 UTC</pubDate>
      <guid>https://snipplr.com/view/46189/100-height-4-column-layout</guid>
    </item>
    <item>
      <title>(XHTML) 100% Height 3 column layout - blueocto</title>
      <link>https://snipplr.com/view/46188/100-height-3-column-layout</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 28 Dec 2010 11:45:39 UTC</pubDate>
      <guid>https://snipplr.com/view/46188/100-height-3-column-layout</guid>
    </item>
  </channel>
</rss>
