WordPress Framework with Intuitive Backup Functionality for Better Local Development and Option-Router!

Xtreme One BackupA new version of Xtreme One, the WordPress Framework, was released last week. It includes two major new features. With the new developed Option-Router it's possible that the Childthemes manage their own settings, layouts and additional all used Widgets with all their content. That means, you can switch between the Childthemes and have the specified settings for each Childtheme, without adjusting the Childthemes again after switching.

The second highlight is the new Xtreme Backup. Xtreme Backup enables you to save the complete configuration of your Childtheme and your Widgets as a XML file on your computer. Therefore you can develop local or on another server, create backups and use them right away on your live system. A matter of seconds!

These two new features, optional HTML5 output and infinitely different layouts and the userfriendly backend makes Xtreme One become the most innovative WordPress Framework. Xtreme One costs only $79,95 and can be purchased here.

A great alternative for any WordPress website no matter which theme you are using is our BackWPup

Fix Empty Searches


One minor problem for any web site is duplicate content: the same resource is available under different URIs. Yes, we have <link rel=canonical>, but anything that prevents such cases is better.

Today, let’s look at something, that most professionals never see: empty searches. You offer a search input field, and someone hits the submit button unintentionally, without any term entered. The resulting URI looks like this: example.com/?s=. It shows the same content as your front page. In fact, it is the front page.

No one needs that.

Therefore, I have added a simple rule to my .htaccess:

# Catch empty searches
RewriteCond %{QUERY_STRING} ^s=$
RewriteRule ^ /? [L,R=301]

Add these lines right after the RewriteBase directive.

Next, I wanted to save my visitors the unnecessary request. I have written a simple jQuery plugin:

/**
 * Stop empty searches
 *
 * @author Thomas Scholz http://toscho.de
 * @param  $ jQuery object
 * @return bool|object
 */
(function( $ ) {
   $.fn.preventEmptySubmit = function( options ) {
       var settings = {
           inputselector: "#s",
           msg          : "Don’t waste your time with an empty search!"
       };

       if ( options ) {
           $.extend( settings, options );
       };

       this.submit( function() {
           var s = $( this ).find( settings.inputselector );
           if ( ! s.val() ) {
               alert( settings.msg );
               s.focus();
               return false;
           }
           return true;
       });
       return this;
   };
})( jQuery );

I call it in my footer scripts:

jQuery( "#searchform" ).preventEmptySubmit();

Note that my search form element has an id attribute with the value searchform. Adjust the selector to match your current theme. To change the message, just add an option for it:

jQuery( "#searchform" ).preventEmptySubmit({ msg: "This won’t work!" });

You may use the script for other input elements too. Set the selector in the second option inputselector. Say, you have a form with the id discountcode and a field with the id dcodenumber:

jQuery( "#discountcode" ).preventEmptySubmit(
{
   msg: "No number, no discount, sorry!",
   inputselector: "dcodenumber"
});

Useful? Any hints?

Guest Post

This post is written by Thomas Scholz - toscho.de and is a post in our Advent Calendar on WP Engineer about WordPress.
Thank you very much from my part to Thomas.
If you also like to have your interesting post published on our website, please let us know on our contact page. Of course we will appreciate your contribution!

The Making Of Xtreme-Theme.com


After the international launch of Xtreme One WordPress Framework we received quite a few questions, how we have realized the pages and whether we have used language Plugins.

xtreme-theme.com is a WordPress Multi-site installation and the support forum is a vBulletin 4.0 Forum, which is located in a separate directory and under the subdomain support.xtreme-theme.com. Currently we have 6 blogs plus the Childtheme demo blogs:

All blogs are powered by Xtreme One (what else?) and 3 Childthemes. The Childthemes have their own textual domains to be able to use 2 languages. There are the strings included that do not occur in the framework. We don't use a language Plugin. We write in English and German.

The themes, showcases and testimonials are Custom Post type with some additional custom fields, such as the Buy-Link, the price etc. . For the output of the testimonials I built a widget where I can display English or German. Since we are using on different subdomains some of the Xtreme One Widgets, such as the slider for the Childthemes, I modified the widgets a bit, so that they can execute multi-site queries. Via a selectbox I can choose which blog I want to query.

Every Childtheme Demo Blog runs on a separate subdomain. We wrote a small Plugin that creates the theme switcher. The Plugin adds in Super Admin at Sites, an extra box, with the demo blogs are selected. The data for the price and the purchase link will then be queried by xtreme-theme.com and generates the Switcher. If I add a new demo blog, I just have to check the checkbox and it's ready.

Demoblog Plugin

We wanted the main page, the documentation and the knowledge base to be in a different look. We realized it with 3 Childthemes, and up to a few small changes to the templates, we just changed the CSS and other graphics are used. The entire header with the two navigations are the same on all domains, so it keeps the same look and feel for the navigation for better usability. We use only the WP Menu, which I don't wanna miss again. For the flags in the navigation, we used the CSS classes en and de and styled accordingly. Such a thing was previously not so easy.

Integration of the many different layouts and sidebars was with the layout manager of Xtreme One only a matter of minutes. Select desired containers, set width, select sidebars and hit save. So all core functions of Xtreme One. Only for the integration of Google Analytics and a few little things that happen at all Subdomanis, I've written a Plugin to not do these things more than once.

It was and is an exciting project and there is much more to come.

Use WordPress Post Thumbnail as Background image


Now and then you need in a post or page a catchy image. For editors the thumbnail function is quite comfortable to assign an image to a post or a page. Therefore it is worthwhile to use this picture as a background image for the post. However, it is much better if the image is defined via CSS in the background and it doesn't appear in the markup. Therefore, a small function that defines a default image and if there is a defined post thumbnail, then this will be used.
Continue reading …

Launching WordPress Framework Xtreme One!

We are very happy and proud to announce the international launch of Xtreme One WordPress Framework today. After a very successful one month pre-launch in Germany we are excited to offer Xtreme One for only $79,95 worldwide now. Xtreme One was programmed by Heiko and I, Alex is responsible for the design.

Why another WordPress Framework?

My idea of a WordPress Framework starts where most of the others are given up - to give the user the complete control of his layout. That's why Xtreme One is worldwide the only WordPress Framework, which is able to create fixed, fluid and flexible layouts. Create in a matter of minutes your own desired website layout with just a few mouse clicks! Check out the video and get convinced by Xtreme One.

Focus on the most important thing – your vision!

Efficient functions enables you to work extremely fast, without writing code. Hence, you have more time to create your design.

It's the details that matter

  • 6 layout variations in content area.
  • Widths of sidebars flexible adjustable in px, em or %
  • Free positionable navigations with 4 different stylesheets for WP Menus, page or categories
  • Able to add teaser and footer with dynamical created widget areas in 28 layout variations and up to 5 columns.
  • Layoutmanager  - different layouts and sidebars
  • 12 additional widgets: 3 slider widgets, 5 widgets for column and row based output of your articles and pages, printable and accessible tabber, last tweets, newsletter and social links.
  • 3 comment form layouts, additional text fields, adjustable avatar size and alignment
  • Combining of stylesheets and stylesheet compression.
  • Multisite and Localization ready, in English and German.
  • Extensive documentation, support forum, knowledgebase, free updates
  • and a lot more

Launch rebate until December 13th

To celebrate the launch of Xtreme One Framework, we will give you a $10 rebate until December 13th. Just type in LAUNCH in the Discount Coupon field when you check out.

And that's only the beginning!

In the coming months, we will come up with many more innovative ideas for Xtreme One and we will try to make Xtreme One the best WordPress Framework out there. I know it's tough goal, but we will try to deliver!

Buy it now for a limited time for $69,95 and receive free updates with even more features in the future. We hope you will enjoy Xtreme One!

We are looking forward to hear your feedback!

Custom WordPress Login-Page

In a previous post I wrote about the possibility to adjust the login page in your WordPress backend. But I still receive a lot of questions about it and I would like to point out three simple ways, so that you can customize with little effort the login page to your site - a nice added value in terms of customer projects which makes it look more professional instead having always the WordPress logo and the link displayed.
Continue reading …