Posts Tagged ‘WordPress’

How To detect Mobile visitors on Your WordPress

Thursday, December 10th, 2009
Detect Mobile Users

Detect Mobile Users

Right now, Mobile user growing really fast, some of them enjoy to read blog via Mobile Phone, iPhone or they BlackBerry. As weblog maintenance. We need to create some wonderful guide how to directly Mobile user to match with Mobile Friendly interface.

I got this tips from WP Recipes, this tips is really nice and I like it

Write this script on your header.php

Once done, simply open your header.php file and place the following at the top of the file. Don’t forget to edit line 5 according to the page where you’d like to redirect mobile users.

include('mobile_device_detect.php');
$mobile = mobile_device_detect();

if ($mobile==true) {
  header( 'Location: http://your-website.com/?theme=Your_Mobile_Theme' ) ;
}

Thanks to Jeff Starr for this very cool idea! and Happy blogging and sent your reader to the right theme ;)

Popularity: 1%

How to clear the “Briefly unavailable for scheduled maintenance” message after doing automatic upgrade?

Saturday, February 21st, 2009

As part of the automatic upgrade WordPress places a file named .maintenance in the blog base folder (folder that contains the wp-admin folder). If that file exists, then vistors will see the message Briefly unavailable for scheduled maintenance. Check back in a minute.

To stop that message from being displayed to vistors, just delete the .maintenance file. The automatic upgrade should be executed again, just in case it failed.

Popularity: 2%

Upgrade to WordPress 2.5 RC 2

Saturday, March 29th, 2008

After we moving to new server, I decided another decision. Yeah, I was update my WordPress to 2.5 RC 2. The question is, why upgrade? why not waiting until the final version released? This is my question. You know, if WordPress released new version, they added something new. So before the final version coming true. I need to test it and when the final has come I can use it with easy and make something useful for all of you ;)

I didn’t recommended to all of you to upgrade unless you know what’s you doing with it. If you just wordpress writer don’t upgrade right now. But if you like some challenge, upgrade to WordPress 2.5 RC 2 is not bad idea ;)

Popularity: 5%