Category: WPengineer Misc
Don’t use strlen()
Each time I see someone use strlen() I cringe. It will break. Despite its name, strlen() doesn’t count characters. It counts bytes. In UTF-8 a character may be up to four bytes long. So what happens if we use strlen() and its companion substr() to shorten the title of post? <?php # -*- coding: utf-8 […]
We’ve Lost A Very Good Friend, WordPress Enthusiast And An Important Part Of WPEngineer!
Sadness has descended on WPEngineer last week. Michael Preuß, one of our WPEngineer Team, died suddenly after a short illness and after a memorable life. Frank and I are still in shock and we can’t realize that Michael left us without saying goodbye. He leaves a big gap in our life. He was not only […]
What is this all about: Help Stop SOPA/PIPA Turn off your website on January 18th for 12 hours. Simple and fast solution for turn the website off; use the Plugin WP Maintenance Mode, original for the activation of the maintenance mode; but its easy for this requirement. As useful; the plugin send an 503 Service […]
Linux Programming Fonts
I’m working on different systems and every system uses different fonts in their editor. I like to introduce some fonts in Linux and it might help you to find your favorite. This is not an article about WordPress directly, but many of us using an editor for the most time, while developing with WordPress.
Simple Media Queries Tester
CSS Media Queries are getting more popular and the adjustment of the size of a website for different clients or the size of the browsers are more necessary. The Media Queries are a solution, which also have its advantages and disadvantages. It was a disadvantage, when using, that I couldn’t see all sizes at the […]
Simple Autoresize for WordPress Background Image Function
In WordPress 3.0 you have the possibility to easily upload and use a background image. The image is positioned via CSS in the background. Thus it is not quite simple to have the possibility of auto resize and the background adapts to the size of the browser. There are some nice possibilities for this request, […]