Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Instead of writing the link in the HTML, just write the email address inside any tag you want (p, spam, div...) with the class "email", and put "[at]" instead "@". This script replace the "[at]" and create the link outside the spam robot sight
1
1619
posted 15 years ago by thefricky
Further below in the code are the default style declarations that can be overridden in custom css. To create custom classes that will be available in the rich text editors, follow the example below:
.ms-rteElement-appleRed {
color:red;
-ms...
0
1997
posted 15 years ago by rumremix
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
1485
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
979
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
1242
posted 15 years ago by iloveitaly
run this from plugins/emotions and copy/paste the output to emotions.htm
0
1688
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
1226
posted 15 years ago by baires
refreshes Chrome + Safari without bringing them into focus. If Chrome is hidden, then no refresh occurs.
2
1656
posted 15 years ago by iloveitaly
Prevents WordPress from loading Contact Form 7 on page templates other than the one defined.
0
1586
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
1173
posted 15 years ago by sdxxx
Drupal 5.
Simply print <code>$uc\_cart\_shopping\_block</code> where ever you want.
0
1018
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
2073
posted 15 years ago by Kerrick