Profile

Achievement

first submission:submitting first snipplet

stephcode's Recent Snippets



« Prev 1 2
Add to config/site.php:
0 1923 posted 13 years ago by stephcode
To correct the shift that happens on hover when the weight of the link is normal, but bold on hover.
0 3313 posted 13 years ago by stephcode
Put the following outside WP
1 1965 posted 14 years ago by stephcode
Replace background colors with your images.
0 1897 posted 15 years ago by stephcode
Annoy your visitors, fool your friends, fun and party. Please note that this also disables ability to write in form fields.
0 1754 posted 15 years ago by stephcode
0 1767 posted 15 years ago by stephcode
And http://www.htpasswdgenerator.com/apache/htaccess.html
0 1947 posted 15 years ago by stephcode
Put in head tag
0 1867 posted 15 years ago by stephcode
0 2115 posted 15 years ago by stephcode
AddHandler application/x-httpd-php .php .htm ... worked for me (directory: xampp/apache/conf)
0 1952 posted 15 years ago by stephcode
1 1975 posted 15 years ago by stephcode
0 3096 posted 15 years ago by stephcode
0 1926 posted 15 years ago by stephcode
If user enters city.php from footer.php, page will return certain string. If user enters independently, solution lets user see predefined string (in this case, 'your city').
0 2786 posted 15 years ago by stephcode
0 1769 posted 15 years ago by stephcode
0 2136 posted 15 years ago by stephcode
Not sure what I\'d ever use this for as it doesn\'t exactly lend itself to flexibility in the long term, but saving it anyway.
0 3190 posted 16 years ago by stephcode
The first thing to do is to create header files. Create as many different headers as you want. In this exemple, I have created 3 custom headers from my theme default file header.php, names headercontact.php, headergallery.php and headerdefault.php....
1 2406 posted 16 years ago by stephcode
Thankfully, Sjoerd Visscher mentioned an interesting technique that could be used to force IE to use the specified CSS styling. Specifically, once you create a new DOM element (of the same name as the one in the document) all styling is applied. [.....
0 2160 posted 16 years ago by stephcode
« Prev 1 2