Welcome To Snipplr


Everyone's Recent Snippets



1 ... 255 256 257 258 259 ... 553
Add this code to jscrollpane.js
2 1641 posted 15 years ago by rmdort
An example of how to call the dropdown taxonomy term function in the template.
0 1029 posted 15 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 1284 posted 15 years ago by fjarrett
1 1044 posted 15 years ago by traeregan
Get url friendly string
0 973 posted 15 years ago by nilambar
Gets string and length and return string of given length. Makes sure half word in not in the end.
0 1029 posted 15 years ago by nilambar
Calculate age; given date.
1 1448 posted 15 years ago by nilambar
source: http://corlan.org/2010/08/30/about-air-android-permissions/
1 1647 posted 15 years ago by BoNzO
Adds support for excerpts in WordPress pages. Great for using WordPress as a CMS. A text field appears in the admin panel and you can pull the excerpt from your template files (for teaser texts etc.)
0 1179 posted 15 years ago by hussong
0 1191 posted 15 years ago by stayce
Grabbed from parsing magento's source code
0 1141 posted 15 years ago by dmistriotis
1 1011 posted 15 years ago by jackomono
Was trying to figure out a way to remove tabs for a content type where it was unnecessary. Place this in your theme template.php file and configure to your needs. Example Usage: Organic Group View is created and page uses a menu tab. Unfortunately...
0 1367 posted 15 years ago by Onfire60
0 1449 posted 15 years ago by Meander365
for auto increment ids, when you delete records this will reset the number for the next auto id.
0 1270 posted 15 years ago by matula
This just replaces the default value of a form element. Then it bring it back if you click away.
1 1188 posted 15 years ago by gera3d
Stop a spam email form header injection attack - ie stop spammers from hijacking a web form to send junk mail
0 1051 posted 15 years ago by flatearthcomms
0 862 posted 15 years ago by tcelestino
0 995 posted 15 years ago by rkumar
When creating a custom Google Map, the latitude and longitude for the place of interest are needed. Enter in the Address, City, and State, and the lat and lng pair will be returned.
4 2672 posted 15 years ago by tcam27
1 ... 255 256 257 258 259 ... 553