Welcome To Snipplr


Everyone's Recent Snippets



1 ... 209 210 211 212 213 ... 553
Add this in the functions.php file, in your Wordpress theme.
0 1598 posted 14 years ago by ddavidd
From an awesome comment on how you can use PHP to apply the unique ID to to the body element. This will return the name of the PHP file being executed as the ID (e.g. body id="index.php"). To leave off the .php part, just remove the ".php" part.
0 1577 posted 14 years ago by danielwrobert
1 1206 posted 14 years ago by adambundy
0 1206 posted 14 years ago by vagrantradio
This snippet check for custom field value (customfieldname), if there is nothing it will display default value (alternative text). This is my first WordPress Snippet :)
1 1153 posted 14 years ago by raz
Taken from Christian Cantrell's Adobe article called 'Authoring mobile Flash content for multiple screen sizes'.
0 1265 posted 14 years ago by adrianparr
Taken from Christian Cantrell's Adobe article called 'Authoring mobile Flash content for multiple screen sizes'.
0 1199 posted 14 years ago by adrianparr
A class that implements an interface cannot override a constant defined in the interface. But any child class that extends from the implementing class can.
0 966 posted 14 years ago by denright
1 1404 posted 14 years ago by samwa
0 845 posted 14 years ago by ertbor
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
1 1731 posted 14 years ago by Activetuts
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
1 1535 posted 14 years ago by Activetuts
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
0 1371 posted 14 years ago by Activetuts
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
1 1561 posted 14 years ago by Activetuts
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
1 1854 posted 14 years ago by Activetuts
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
2 1690 posted 14 years ago by Activetuts
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
1 1598 posted 14 years ago by Activetuts
easy tabs
0 807 posted 14 years ago by jelontok
simple jquery code to clear form fields
0 1036 posted 14 years ago by jelontok
keeps hover states on for top level dropdown menu items or accordions
1 1153 posted 14 years ago by jelontok
Make sure you CSS paths are correct in your HTML.
0 1640 posted 14 years ago by rts_dev
Use case: * Paste the javascrit BEFORE the closing body tag `</body>`
0 1167 posted 14 years ago by mnstefan
0 748 posted 14 years ago by kokotec
Refer here for a full overview: http://net.tutsplus.com/tutorials/php/quick-tip-email-error-logs-to-yourself-with-php/
9 2587 posted 14 years ago by Nettuts
1 ... 209 210 211 212 213 ... 553