Welcome To Snipplr


Everyone's Recent Snippets



1 ... 201 202 203 204 205 ... 554
this code to load image from my theme images folder
0 642 posted 13 years ago by root_hacker
Sacado de Nettus
0 728 posted 13 years ago by danideu
// example <br> $from = '2011-1-6'; <br> $to = '2011-1-8'; <br> dateDiff($from,$to); // returns 2
1 928 posted 13 years ago by klovera
0 743 posted 13 years ago by drifterz28
Wrap these two sets of commands around your sql backup if it hasn't come from a backup from the Magento admin interface (Magento adds this). This stops foreign key checks and then restarts them. The /*!40101 ---- */ code around the SET command...
0 747 posted 13 years ago by TheJasonParker
0 1122 posted 13 years ago by miceno
Opcja Opis %H Suma kontrolna zmiany %h Skrócona suma kontrolna zmiany %T Suma kontrolna drzewa %t Skrócona suma kontrolna drzewa %P Sumy kontrolne rodziców %p Skrócone sumy kontrolne rodziców %an Nazwisko autora %ae Adres e-mail autora...
0 857 posted 13 years ago by yanek1988
To wrap long URLs, strings of text, and other content, just apply this carefully crafted chunk of CSS code to any block-level element (e.g., perfect for `pre` tags)
0 898 posted 13 years ago by andor_chen
0 731 posted 13 years ago by danhanly
0 648 posted 13 years ago by atomicbutterfly
0 842 posted 13 years ago by alsodenn
0 795 posted 13 years ago by danhanly
The uploaded file is attached to the "pid" of the recently inserted project. the "pid" variable is retrieved from the database after the project has been entered
2 976 posted 13 years ago by danhanly
0 608 posted 13 years ago by l4u
I got the answer to this question on WordPress Stack Exchange website: http://wordpress.stackexchange.com/questions/6931/is-there-a-wordpress-function-that-i-can-use-to-retrieve-the-current-page-that-is
0 1411 posted 13 years ago by racl101
Use this to get the name of the custom taxonomy. Note that this only returns the name of the first selected item, but since this returns an array, use a foreach loop to find all names.
0 1058 posted 13 years ago by ToddSmithSalter
0 562 posted 13 years ago by BebenKoben
To access a protected or private property, you need to create getter and setter methods inside the class file.
0 664 posted 13 years ago by shinokada
Plugin gets child pages of parent in Wordpress. You'll need to pass the parent ID but this isn't difficult to figure out programmatically if needed, either.
0 1021 posted 13 years ago by ashworthconsulting
Check if a string it's json encoded using regular expressions Thanks to Jens Anders Bakke for his mootools code published in webfreak.no http://webfreak.no/wp/2007/09/07/jsontest-for-mootools/
0 1029 posted 13 years ago by jatubio
Here is an example of a sound that is in a library with the class field set to MySound.
0 1382 posted 13 years ago by adrianparr
1 ... 201 202 203 204 205 ... 554