Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 84 85 86 87 88 ... 147
0 1414 posted 15 years ago by iloveitaly
This one controller will load views based on the URI segments returned, good for static sites that don\\\\\\\'t require a controller for every page. Requires a view \\\\\\\"404\\\\\\\" as a default when nothing is found.
0 1478 posted 15 years ago by StevenW721
Adding E-mail to - function THEME_signup_user_form
0 1427 posted 15 years ago by discipolo
5 1979 posted 15 years ago by StevenW721
on node/add/save redirect your to a url of your choice in Drupal 6 in your own custom module. (in this my module name is qctpmm, it's simply the content type of page and it's redirecting to user.)
0 1599 posted 15 years ago by redhatmatt
1 3583 posted 15 years ago by gilbitron
2 1614 posted 15 years ago by kwanhon
Used in my post on how to optimize WordPress, which can be found here: http://www.brettwidmann.com/2010/01/optimizing-your-wordpress-site-pt-2/
1 1353 posted 15 years ago by goatboy91587
Used in my post on how to optimize WordPress, which can be found here: http://www.brettwidmann.com/2010/01/optimizing-your-wordpress-site-pt-2/
0 1426 posted 15 years ago by goatboy91587
Used in my post on how to optimize WordPress, which can be found here: http://www.brettwidmann.com/2010/01/optimizing-your-wordpress-site-pt-2/
0 1345 posted 15 years ago by goatboy91587
Used in my post on how to optimize WordPress, which can be found here: http://www.brettwidmann.com/2010/01/optimizing-your-wordpress-site-pt-2/
0 1381 posted 15 years ago by goatboy91587
0 1299 posted 15 years ago by sawyer
If your WordPress blog is outdated even by a few days and there's a security hole in your old version you could be seriously compromised without even knowing it. Trust me. This has happened to two of my clients and the fix is not easy. Usually, once...
0 1657 posted 15 years ago by josephknight
Removes wordpress auto <p> tags from content...additional line to clean curly quotes as well.`
0 1428 posted 15 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 1165 posted 15 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 1572 posted 15 years ago by scribbleitdesigns
0 1495 posted 15 years ago by beneberle
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 1798 posted 15 years ago by MikeyLikesIt
Check to see if HTTP POST variable exists before doing something with it.
0 1727 posted 15 years ago by jonkemp
0 1293 posted 15 years ago by orenus
0 1355 posted 15 years ago by orenus
1 ... 84 85 86 87 88 ... 147