Test or Meet at WordCamp San Francisco and Win a Plugin License!

WordCamp San Francisco

Next week I will be at WordCamp San Francisco and a week later at the WooConf! Maybe one or antoher of our loyal readers will also be there. It would be great to meet you in person!

Frank and I had such a blast at WordCamp Europe in Sofia last month. It was great to meet many of our old WordPress buddies and get to know even more WodPress freaks there.

We also had the chance to show many people the newest version of our Multlingual WordPress plugin MultlingualPress. Everybody was very excited about it. Because it is a clean solution without any performance issues. It is very userfriendly, build on existing core functionality, no compromises in SEO, etc. ... see all features here.

Many people we talked to, had the problem, that they are tight to their current multilanguage solution. If they deactivate their plugin, the content is gone. Big issue if you want to move to a better performing solution. Very soon, it won't be anymore, espacially with your help testing it. We are currently building a WPML importer to easily switch to MultlingualPress. :) Other importer will follow soon too.

There are two ways to win a pro plugin of MultilingualPress

We are looking for some engaging tester for our new WPML importer. If you participate, you can get our pro version for free. If you are interested please contact Frank directly at frank@bueltge.de, for more information read our post on Google+. We really appreciate your support!

On #WeSpeakWP we will have a little contest going for WordCamp San Francisco. Get a sticker in your language from me, if available, at WordCamp San Franciso or WooConf and post a photo/selfie with the sticker on Twitter. Not to forget with hashtag #WeSpeakWP ! The more fun and crazy the photos are, even better! :)

WordCamp San Francisco
WordCamp San Francisco

Of course there is also a free version available, so try it out. Here you can see the differences between the pro and free version. Not to forget, with the pro version you get an excellent support!

I'm really looking forward to meet you in San Francisco! Let me in our comments know if you will be there! Can't wait!

Every Day A Post of WordPress Tips and Tricks until Christmas!

WordPress-Christmas-2013

The time has come and our loyal reader know already our traditional Advents Calendar. For the people who don't know, every year we had in December each day, until the 24th (Christmas Eve in Germany), a post with specials, tips, tricks, plugins, tutorials and so on.

Since it is quite a lot work to accomplish 24 high quality posts, we asked some of the finest WordPress Experts in Germany if they would like to contribute some ideas and great posts to it every day.

We decided to put all the posts on the new marketpress.com blog, where you already can find some really interesting posts like:

Back to the Future - How wp_date_query Works!

Is there a maximum size for WooCommerce shops?

Extend WordPress User Roles: Theme Options for Editors

Code is poetry?

Ghost-Installation with Windows – What You Need to Know!

WordPress Backend Design Study

WordCamp Europe – Video Interviews with Matt, Otto and other Core Contributor

Deploying WordPress with Git and Capistrano

WordPress becomes 10 – free Infographic!

Multilingual WordPress with Multisite? Yes!

Creating and customizing Child Themes

So check out the daily posts on marketpress.com and enjoy!

More information about this tradition and what you can expect for the next 24 days can be found here!

Meet Us At WordCamp Europe!

Bild 435This weekend Frank and I will be attending and speaking at the first ever WordCamp Europe in Leiden near Amsterdam, Netherlands! We are really thrilled to be there and can't wait to meet all the WordPress Gurus from all over the world and see some really interesting sessions!

Frank and Toscho will have a presentation about our MultilingualPress Plugin, a great solution for WordPress with multilingual functionality. Since the very best comes at the end, they are scheduled to be the last presentation on Sunday at 16:45 "The State of Multilingual WordPress". They will show how easy it is to use a WordPress Multisite and create a multilingual website.

We are really excited to see many of our friends and other WordPress enthusiasts, as we are, at the event. The participant list is a who’s who of WordPress experts. It will surely a great and interesting weekend!

If you’re attending WordCamp Europe make sure you say hello, we love to have a chat or a beer with you! :)

Ooooh, and if someone doesn't know how we look like, here we go:

Alex

Alex

Frank

Frank

Lifespan of a WordPress version

The new version 3.6 has been released much later than anticipated; the release has been estimated for the end of April and has finally been released in early August. Therefore v3.5.x stayed the freshest available version for 234 days. How does this compare to the previous versions?

wp-versions-3

On average a WordPress version was replaced by a new one after 198 days. Outstanding is the version 2.0 which stayed the newest version for over one year (Dec 2005 - Jan 2007). Starting with version 2.1 WordPress development took a faster pace and the release of new versions took about four to six months. (Source: Wikipedia)

free-web-fonts

Beautiful Web Type Combinations

Fonts have become great favorites of the customers, with relatively little effort you can achieve a lot - at least if you understand some of the typography and use solutions that are easy to implement. In this context, I had experiences with own fonts from designers and the costs are not in proportion to the use of free web fonts. In particular, Google provides here a big range of solutions and makes the integration easy.

The endless choices of fonts also presents a problem, it is not easy to find the right fonts in a good combination. In the past I collected some solutions in a single page and now have a very nice scope. The solutions are not from me, but usually by designers in the world wide web.
Continue reading …

broken doppelgaenger

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 -*-
declare( encoding = 'UTF-8' );
header('Content-Type: text/plain;charset=utf-8');

$string = 'Doppelgänger';
print 'strlen():    ' . strlen( $string ) . "\n";
print 'mb_strlen(): ' . mb_strlen( $string, 'utf8' ) . "\n\n";

print 'substr():    ' . substr( $string, 0, 8 ) . "\n";
print 'mb_substr(): ' . mb_substr( $string, 0, 8, 'utf8' );

Output:

I have to use an image here. If I had used the plain text output our newsfeed would break. And that’s what happens each time you use strlen() and substr() on strings encoded in UTF-8: You end up with partial characters and invalid UTF-8.

Alternatives for mb_strlen()

You can use different methods to get the real string length.

$length = preg_match_all( '(.)su', $string, $matches );

See also Hakre: PHP UTF-8 string Length.

Or just use …

$length = strlen( utf8_decode( $string ) );

There is also a nice php-utf8 library on GitHub from Frank Smit.