Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 254 255 256 257 258 ... 552
Clean up your Admin Editor view by removing unwanted meta boxes that create clutter.
0 1631 posted 16 years ago by fjarrett
Keep your WordPress theme code free from harm by removing the Editor link in the Admin Appearance menu.
0 1633 posted 16 years ago by fjarrett
Clean up your WordPress backend by removing unwanted admin menus that create clutter.
0 1675 posted 16 years ago by fjarrett
Alternative for "return false;" stopPropagation(); prevents for bubbling up the dom preventDefault(); prevents the browser from performing the default action
1 2151 posted 16 years ago by dkl3in
Change \"wp\" to your database prefix. Note, this is the quick and dirty way. The more thorough way, which will also clean any tags or categories that are now unused, is here: http://www.snipplr.com/view/29570/get-rid-of-unused-post-revisions/
2 1708 posted 16 years ago by jessibird
container id: nav list class: dropdown-menu
2 3146 posted 16 years ago by czterystaczwarty
One bind event, multiple events. Handy.
2 2080 posted 16 years ago by Meander365
For those multiple rollovers - and their multiple flashes! The solution is to stop(!) them.
2 1907 posted 16 years ago by Meander365
Dave Metvin\'s method. Two tricks to the method:\r\n\r\n$($boxes[div++] || []) - increaments \"div\" and passes an empty array if the element doesnt exist (so it exists).\r\n\r\narguments.callee - the name of the function currently being executed.
1 1974 posted 16 years ago by Meander365
Quick conversion from a string of binary into ascii, and back again.\r\nUse B* for MSB and b* for LSB first.
0 2044 posted 16 years ago by jimbobmcfred
Allows you to look for an exact word search
0 1623 posted 16 years ago by karmacode
0 4110 posted 16 years ago by tuffo19
PHP scripting block can be placed anywhere in the document. It always starts with <?php>. The example of PHP code below sends the text “Oheon.com” to the browser:
0 1795 posted 16 years ago by Masis
This code wil 301 redirect non-www URLs to the www URL
0 1578 posted 16 years ago by r4b87
have multiple imagecache files be recognized as default
0 1607 posted 16 years ago by karmacode
Eu ouço podcasts no mp3 do carro. Problema: Se quero adiantar 10 minutos, preciso ficar 3 minutos com o dedo pressionando o >> :( Solução: Dividir podcasts com mais de 40Mb em trechos de 5 minutos. A linha abaixo acha esses arquivos no cartÃ...
0 1485 posted 16 years ago by gpupo
When you load content into a jquery ui dialog box which contains a textarea element that you use FCKeditor on. The second time you open the dialog, FCKeditor fails to load. You have to destroy it when you close the dialog box.
0 2049 posted 16 years ago by Meander365
2 1869 posted 16 years ago by kanouf
1 1948 posted 16 years ago by kanouf
1 1888 posted 16 years ago by kanouf
Add this code to jscrollpane.js
2 2422 posted 16 years ago by rmdort
An example of how to call the dropdown taxonomy term function in the template.
0 1655 posted 16 years ago by fjarrett
The dropdown taxonomy term function will enable you to show custom taxonomies in a dropdown menu. It supports both hierarchal (category-type) and non-hierarchal (tag-type) taxonomies.
0 1985 posted 16 years ago by fjarrett
1 1690 posted 16 years ago by traeregan
1 ... 254 255 256 257 258 ... 552