Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is simple but saves time to copy-paste. This example has three columns (.boxcol) within the box. But the columns can be removed for single-column box.
0
1548
posted 15 years ago by rumremix
Add two new shortcodes to create Shopp product/category links in an easy way.
**USAGE:**
The following shortcodes will now be available along your posts, pages and text widgets
[productlink id='' text=''] (Text is optional, if omitted the p...
0
1035
posted 15 years ago by zreedeecom
I'm not well versed in international address formatting, but this seems to work for most cases. Critiques are welcome!
0
1326
posted 15 years ago by iloveitaly
run this from plugins/emotions and copy/paste the output to emotions.htm
0
1771
posted 15 years ago by hamsterbacke82
A blank search in wordpress returns all the posts, which could be taken as duplicate content if that got indexed.
0
1301
posted 15 years ago by baires
refreshes Chrome + Safari without bringing them into focus. If Chrome is hidden, then no refresh occurs.
2
1733
posted 15 years ago by iloveitaly
Prevents WordPress from loading Contact Form 7 on page templates other than the one defined.
0
1663
posted 15 years ago by vagrantradio
Say you wanted to create a shortcode like this: [youtube id="991WcoEPwb8"]
And instead of manually creating the HTML yourself, you wanted to use YouTube’s oEmbed provider to get the HTML. While that’s easy to do using WordPress’ existing fun...
3
1253
posted 15 years ago by sdxxx
Drupal 5.
Simply print <code>$uc\_cart\_shopping\_block</code> where ever you want.
0
1076
posted 15 years ago by resting
This is a test case to show that, with a bit more work and a tiny bit more code, CSS traingles can be used for breadcrumb navigation in Internet Explorer 8.
1
2148
posted 15 years ago by Kerrick
Cleaned up (with the help of jslint.com) versions of cookie handling functions
0
4265
posted 15 years ago by pmw57