Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 184 185 186 187 188 ... 552
0 1690 posted 15 years ago by fatihturan
The date format is dd/mm/YYYY but you can replace slashes by anything else.
0 2035 posted 15 years ago by ptiswitz
1 1787 posted 15 years ago by muzafarova
If your HTML form fields have a 'watermark' default value, it will be removed when the field is focussed and replaced if focus is lost (and the user has left the field blank). To use give your form field a class of 'default-value'
3 2567 posted 15 years ago by f6design
1 2392 posted 15 years ago by f6design
list all files in dir
0 4419 posted 15 years ago by yoblob
If a post is published without setting a featured image and there is an image attachment, this will select an image from the media library and set it as the featured image.
0 1940 posted 15 years ago by chrs
given a url: >`http://www.someurl.com/page.html?param1=foo&param2=bar` You can use map.param1 outside of the function such as: >`$('#some_hidden_field').val(map.param1);`
0 1638 posted 15 years ago by agdm
Add this piece of code in your .htaccess file located in wordpress root directory
0 1811 posted 15 years ago by kirichev
This is 3 lines of javascript code to tweetify plain text returned by Twitter API Input : RT @TTintheCloud: How much are free #cloudcomputing trial offers from Google, Amazon and Microsoft actually WORTH? http://bit.ly/i4w4qa Output : RT <a hre...
1 1560 posted 15 years ago by naren1012
1 1726 posted 15 years ago by mchadwick
a flexible function for making time periods readable
0 1949 posted 15 years ago by bitstream
0 2179 posted 15 years ago by Alwaison
Put this code in your theme, where you want to show followers count. Don't forget to change USERNAME.xml to your twitter user name.
0 1991 posted 15 years ago by kirichev
Javascript solution for embedding Flash in HTML
0 3311 posted 15 years ago by vriesdewie
Re-indexes an array so that the array keys count up from zero. This is useful if you have previously removed some array nodes.
0 1800 posted 15 years ago by f6design
Put this in your functions.php
0 2220 posted 15 years ago by kirichev
Removes 'false', '0', 'null' or '' from the array
0 2263 posted 15 years ago by f6design
Show a notification immediately after application enter in background (but you can schedule it too)
0 2547 posted 15 years ago by rabc
I'm just trying
0 1833 posted 15 years ago by iamdezzy
0 1505 posted 15 years ago by genseric
checks for number character alphanumeric
0 1479 posted 15 years ago by yoblob
removes ./ from dirEval and assigns to category
0 1601 posted 15 years ago by yoblob
0 1594 posted 15 years ago by yoblob
Most of this code is by: http://www.wprecipes.com/get-tags-specific-to-a-particular-category-on-your-wordpress-blog I simply added the Tag Cloud
0 1865 posted 15 years ago by daif
1 ... 184 185 186 187 188 ... 552