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
2007
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
3586
posted 16 years ago by vagrantradio
script will now be treated as a PHP file. Similarly, x-httpd-cgi for CGI files, etc.
2
1845
posted 16 years ago by blpgirl
change the display of cck grouped terms to implode (commas, no divs) for a cerain field only
0
1547
posted 16 years ago by discipolo
Just go to your classes.php file line 1332 and replace this line
1
2655
posted 16 years ago by creativelifeform
This is useful when you need to add logic to static html page.
0
1730
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
2839
posted 16 years ago by rwczippy
This code separates out the Flash Player Platform, Major Version number and Minor Version numbers.
0
2209
posted 16 years ago by adrianparr
From the Big Spaceship Labs website.
This is a useful workaround for the following error message ...
SecurityError: Error #2142: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property.
7
2641
posted 16 years ago by adrianparr