Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Removes wordpress auto <p> tags from content...additional line to clean curly quotes as well.`
0
673
posted 14 years ago by scribbleitdesigns
Place in your theme's functions.php file. This removes the generator altogether, not just the version....making it more secure than simply removing the filter...
0
487
posted 14 years ago by scribbleitdesigns
This is a custom function to place in your theme's "functions.php" file that will override the typical 1.3.2 version of jQuery included in wordpress with the latest 1.4.2 version (and any future release for that matter). This does not effect the admi...
0
816
posted 14 years ago by scribbleitdesigns
Permet d'ajuster la taille d'une image ou swf en fonction de son ratio et de celui de son conteneur.
1
690
posted 14 years ago by ions
Tag Description
total total pages for the query
page current page of the query
records total number of records for the query
rows an array that contains the actual data
id the unique id of the row
cell an...
0
499
posted 14 years ago by elijahmanor
You will be prompted for a password after issuing this command
1
809
posted 14 years ago by beneberle
Replace filename with the name you want to give the zip file. The .zip extension is automatically appended to the end of the filename. Replace inputfile1 and inputfile2 with the names of the files you wish to include in the zip archive. You can inclu...
2
1017
posted 14 years ago by beneberle
Un ejemplo de como hacer un resice del formulario conjunto a todos los controles.
0
1218
posted 14 years ago by keidash
This snippet allows admins to create menu items which do not link anywhere. This is most useful in situations where one wants to have dropdown menus where the parent item should not be a link.
This same method could be used to create non-linking...
1
839
posted 14 years ago by MikeyLikesIt
Check to see if HTTP POST variable exists before doing something with it.
0
844
posted 14 years ago by jonkemp
I removed several properties from my custom Profile class, and wanted to clean out the data from the aspnet\_Profile table. This code will remove all unwanted data from the PropertyNames and PropertyValuesString columns of aspnet\_Profile. Note this...
2
978
posted 14 years ago by mmfusion