Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Found this bit of code all over the place, except it missed out a very crucial part of the code which was to add a "-" in front of the ID you wish to exclude. Add this to functions.php in your theme folder.
0
1900
posted 16 years ago by creativelifeform
Starter barebones stylesheet that fixes many common browser differences and styles all common HTML elements. - Will be updated.
3
3464
posted 16 years ago by vagrantradio
script will now be treated as a PHP file. Similarly, x-httpd-cgi for CGI files, etc.
2
1749
posted 16 years ago by blpgirl
change the display of cck grouped terms to implode (commas, no divs) for a cerain field only
0
1455
posted 16 years ago by discipolo
Just go to your classes.php file line 1332 and replace this line
1
2514
posted 16 years ago by creativelifeform
This is useful when you need to add logic to static html page.
0
1631
posted 16 years ago by Meander365
search for anything in-between two <TAG>'s and then replace the found string into the PHP if/else staement. $1 is wher TextMate stores the found string. (see http://screenflicker.com/mike/code/textmate-regex-replace/)
3
2713
posted 16 years ago by rwczippy
This code separates out the Flash Player Platform, Major Version number and Minor Version numbers.
0
2103
posted 16 years ago by adrianparr