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!

Inform user about automatic comment closing time

To prevent spammers from flooding old articles with useless comments you can set WordPress to close comments after a certain number of days:
close-comments
It might be surprising for some users if the comments are closed automatically so it might be a good idea to inform them about the remaining time.

add_action( 'comment_form_top', 'topic_closes_in' );

function topic_closes_in() {
    global $post;
    if ($post->comment_status == 'open') {
        $close_comments_days_old = get_option( 'close_comments_days_old' );
        $expires = strtotime( "{$post->post_date_gmt} GMT" ) +  $close_comments_days_old * DAY_IN_SECONDS;
        printf( __( '(This topic will automatically close in %s. )', 'domain' ),  human_time_diff( $expires ));
    }
}

While the code should be almost self explanatory there is an interesting function not every WordPress developer might know: human_time_diff(). This function is hidden in the .../wp-includes/formatting.php file. It is originally planned to be used in themes to provide a more "human" touch to the date/time a post was written. Since the function does not care if the date is in the past or in the future we can use it for our needs.

close comment example

Escaping the maintenance mode trap

WordPress makes upgrading very easy . You simply click "Update now", wait for a minute or two and your system is up to date. If, well if everything works fine.
The most common problem during an upgrade is the Internet connection to drop unexpectedly or the user to shut down the browser unintentionally. In both situations the upgrade will stop instantly.
If you try to log in to your backend again you will receive the message

"Briefly unavailable for scheduled maintenance. Check back in a minute."

This message is useful to keep users away from your blog during the upgrade but right now it's keeping you from restarting the upgrade. To solve this problem we have to take a look at how WordPress determines that it's in maintenance mode.

WordPress is looking for a possible maintenance mode very early to prevent the system dying from any fatal error. So it using a very simple method by writing a file called .maintenance to the WordPress root directory. If the blog or backend is accessed it will check for the file and stop if it's present.

Knowing this the solution to our problem is quite simple: access your WordPress system via FTP and delete the file .maintenance.

If you're not able to log in to your server via FTP for some reason there is a second method for escaping from maintenance mode: simply wait 10 minutes!
The file .maintenance contains a timestamp of the time the file was created. If this time is less than 10 minutes ago WordPress will go into maintenance mode otherwise it will continue to work as usual and enable you to restart the upgrade unless something worse keeps it from starting.

New hooks in WordPress 3.8

WordPress 3.8 introduced one new action and five new filters:

  • automatic_updates_complete
    Action triggered after all automatic updates have run.
    (wp-admin/includes/class-wp-upgrader.php)

  • automatic_updates_debug_email
    Filter the debug email that can be sent following an automatic background core update.
    (wp-admin/includes/class-wp-upgrader.php)
  • comment_notification_notify_author
    Filter whether to notify comment authors of their comments on their own posts.
    (wp-includes/pluggable.php)
  • dashboard_glance_items
    Include additional elements in the 'At a Glance' dashboard widget. This widget was previously 'Right Now'.
    (wp-admin/includes/dashboard.php)
  • user_{$name}_label
    Filter a user contactmethod label.
    (wp-admin/user-edit.php)
  • wp_prepare_themes_for_js
    Filter the themes prepared for JavaScript, for themes.php. Could be useful for changing the order, which is by name by default.
    (wp-admin/includes/theme.php)
  • A list of all new hooks can you also find in the hot list of WP Seek.

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!

Download the new Xtreme One WordPress Framework for free and test now!

xtreme-1000x400-150x150With pleasure we can now announce that Xtreme One 1.6 was released as a beta last week! Xtreme One WordPress Framework gives you the freedom to easily create your WordPress Themes. No more inflexible layouts or having to change the code all the time. With the powerful framework you are able to realize your ideas very quickly.

Xtreme One is the world’s only WordPress framework that allows solid, fluid and flexible layouts.

With Xtreme One 1.6 also comes the possibility to adapt Xtreme One Widgets to your own needs or create custom widgets, an example is supplied in /xtreme-blank/ Child Theme. The Grid post widgets now support custom post types. Therefore an infinite number of options are available with just a few clicks to reposition content.

Using the unique content widgets you can integrate any widget in the post editor. Of particular interest would it for portfolio websites, certain posts in multiple columns responsive and fluid.

Xtreme One comes with 15 awesome Widgets, try out all of them and you will be amazed!

You can find more information about the powerful WordPress Framework here!

Download and test it for free

Beta testing ends 30.11.2013!