The other day I found a pretty neat website with a huge gallery of background patterns for websites. The site has also a really cool editor that lets you change the colors of your choosen pattern in real time, and then it gives you a download link to the image file.
To make WordPress stop converting two dashes into a single one, follow this guide:
- Open wp-includes/formatting.php.
- Navigate to line 56.
- Change line 56 and 57 from:
$static_characters = array_merge(array('---', ' -- ', '--', ' - ', 'xn–', '...', '``', '\'\'', ' (tm)'), $cockney);
$static_replacements = array_merge(array('—', ' — ', '–', ' – ', 'xn--', '…', $opening_quote, $closing_quote, ' ™'), $cockneyreplace);
$static_characters = array_merge(array(' - ', 'xn–', '...', '``', '\'\'', ' (tm)'), $cockney);
$static_replacements = array_merge(array(' – ', 'xn--', '…', $opening_quote, $closing_quote, ' ™'), $cockneyreplace);
I have cleaned up the code to the layout I wrote about in my previous post. It’s a layout written in XHTML 1.0 Strict and CSS, with a sticky footer that stays at the bottom of the page. I have validated both the XHTML and CSS, so it should work good in the most browsers (except IE6 maybe, as usual? ). It also has many semitransparent .png-images, which makes it pretty cool.
The layout is supposed to work as a WordPress theme (or to any similar blogging platforms), which shouldn’t be that hard to accomplish by integrate it with a existing theme.
It’s available to be previewed here:
If you easily want to download the complete layout, with the layout image file (.xcf (GIMP)) included, you can do it with the following link:
Check it out, get inspiration and/or steal the code!
I’m currently working on a small website in HTML and CSS for web design class in school. Though, I had major problems with positioning the footer at the bottom, get the background image of the layout to work right and shit. It didn’t become easier with my layout background image being an semitransparent .png-file. So messy…
However, I stumbled over two good website that helped me to get in the right direction with getting the footer to stay at the bottom. They didn’t completely solve my problems, but yeah, they helped much. Here are links to them:
EDIT: You can check out the theme here and download it.