Is your site mobi ready?

We’ve been running our new banner for a couple of weeks now, and if you look you’ll see that the URL is different for our school banner than our website. Why? It’s in Chinese!

Today’s post looks at whether your site is mobile ready, and how to do it. The mobile web is beginning the growth phase and could be even bigger a phenomenon than the current web, as the number of mobile units out in the market, many of which are mobile internet ready, is huge!

The results are pretty good, too, if you take a look.

 

nozkidz Of course, this is fortuitous because it means I can figure out if people are actually seeing the sign in our target area and visiting our site from the URL or not. But the risk is if you are on the street, and you want to check the details before you call, and your site isn’t mobile you’ll likely discourage the visitors because of what they might see.

What do they see when they get there? Well, before they would have seen a busy site in mini-view with lots of places to click, and not suited to the mobile experience at all. But I installed one plugin called WordPress Mobile which …

WordPress Mobile Edition

A mobile/phone/PDA friendly interface for your blog with progressive enhancement for advanced mobile browsers.

This is a combination theme and browser checker that delivers a mobile view if one of the user agents matches the list of mobile browsers. With so many mobiles out there, the list of browsers is quite diverse, but the user experience is great.

Once you install the WordPress Mobile Edition, and activate it, it’s pretty smooth. You can test your site at Ready.Mobi to see if it is compatible.

mobi-ready results

The stats are meaningless without taking a screenshot of the site in mobile view, but that’s a little tricky! Any suggestions how to get a pc to view a mobi.site? Are you a mobi developer? Do you have a mobile site? Do you have a regular site and are you getting it ready for the mobile world?

WordPress 2.9 is out: Are you ready?

crop trashcan wordpress

I logged into one of my blogs today to see that WordPress 2.9 is already out! I’ve updated a couple of my sites already, and I’m noticing several improvements, including a slightly snappier speed on some actions.

But the biggest news is the addition of a trash bin so when you go to delete your posts, they’re archived in the trash should you wish to recover them at some point. This is a very handy feature as I’m sure most bloggers recall having to scour feeds, Google and a bunch of other places looking for posts that were accidentally deleted. (see image for details under Trash).

There are a number of other usability improvements, too. So check in your blog to get the new release. of course, it will break some things, so you may want to hold off updating until 2.9.1. I jumped in early with some of my blogs, and will phase it in across my network of blogs as this month progresses!

Brief Notes: On December 18th, 2009, WordPress Version 2.9, named for Carmen McRae, was released to the public. For more information on this enhancement and bug-fix release, read the Development Blog and see the Changelog for 2.9.

Marketing a Website in Two Languages: WordPress Can Do it – Easily

For many sites, a unilingual setup is fine as you are marketing to a defined body of readers who primarily communicate in one language, their mother tongue. Occasionally, though, you need a website that markets in two languages (or potentially more) to a more disparate group of readers. That’s when the limitations of WordPress can be frustrating: you either end up creating two totally different blogs that reside in different places or one side that is somehow hacked together (as ours was).

However, with a few tweaks of your themes, a couple of plugins and a bit of work, you can easily create a site that is functionally bilingual. How? Well, that’s the purpose of this post.

Ingredients:

  • A WordPress blog with your own domain, hosting and FTP access;
  • A selected theme;
  • The theme switcher reloaded plugin;
  • And a dash of guts; and
  • (if applicable, turn off any caching software).

chinese site blog

Stage 1: Setting up the bilingual site theme

Step 1: Install the plugin as usual. Activate it, too.

Step 2: Set the theme you want to use as your default. Then copy the entire contents into a new folder renamed as your ‘language 2′ – L2 – folder. (in my case this was ‘English’. To reset the name, go to the CSS file of the theme and edit the text in the first two lines: Theme Name: L2.

Step 3: Activate your theme to the new language L2.

Repeat the steps 2 and 3 for your primary language or L1.

Go back to your Appearance >> Themes window inside WordPress. Check that you have two themes: one is clearly named L1 and the other L2.

Step 4: Then create the code or widget you need in the appearance >> widgets box. I ended up just writing the code by hand and pasting the resulting code into a text widget box. Ugly, but functional.

The code looked like this but it was hidden in regular HTML.

Sample
<a href=”http://domain.com/index.php?wptheme=L1″>L1</a>

and similarly for L2. Once this is put in the sidebar, you’re at the end of stage 1. You can now switch between two identical themes that are differentiated only by their name.

Stage 2: Differentiating the themes

Page Structure

Now you need to create some additional structures inside wordpress to hold your pages. I had a number of pages that I wanted to create in two languages. So I created a page structure to make management a little easier, using the ‘page parent’ setting. So the L1 about page was under the L1 page header. L2 about page under L2 and so on. Since each page has a unique number, making the pages appear at the top of the site as many blogs do was simply a matter of calling the page number in the <header> file for each theme.

Thus L1 about page with page number 71 would be called as

<?php wp_list_pages(‘include=pagenumber&sort_column=post_title&title_li=’);?>

You will need to edit this line in your header for both L1 replacing pagenumber with the number you want. You can edit the header in Appearance >> Themes.

Rinse and repeat for each page you want to use in each language.

Sidebar Structure

Set up your Sidebar as you wish, then open the page in your browser, and copy the Sidebar HTML into your notepad.

Clear all the widgets you used. Since you can’t call different widgets in each theme, sidestep the problem. Go to your theme, and edit the ‘sidebar.php’. Replace the content with the code you want to use. Remember to do this with both L1 and L2 theme language, changing the items and translating as you go. Initially, you won’t be able to change the sidebar once you save that… you will have to edit the sidebar.php files by hand.

Theme pages/post pages/etc.

You will need to go through the theme page by page and translate the output comments into your target language. This will take time and you will likely have to check everything several times to make sure things are changed. You will also need to translate the output comments in the header and footer files as well.

It’s possible to go further than this in a number of ways, but once you complete Stage 2: you will have a fully functional bilingual website on the outside, and a mono-lingual site on the admin side. You can’t change the sidebar (yet) with widgets as easily as before. To see what I did on my site, go to NozKidz dot com and click on the English and Chinese buttons at the top. You should see things change smoothly.

Posts aren’t translated yet, either. As there is only one stream of posts so both languages will be presented on each language page. For my site, this may be okay because parents want to see stuff in English written by their kids, they may read them, too. I know there are automated translation tools but I don’t particularly trust them to turn out good quality translations so I’m not implementing them on my site yet. There may be good SEO reasons to do so, but the translations are awkward at best and misleading at worst. I cannot put such translations in front of my group of customers.

Post Structures

I can see a way to create a category for posts in each language, then simply call posts from one category or other depending on the language you want to show. That shouldn’t be difficult. I’m not sure that is something I want to do yet. It would be straightforward to create single languages by editing the PHP in the posts or index.html in each theme. I don’t have the code for doing that. It couldn’t be hard, could it?

Have you tried this? For me, though it took more work than creating another blog, I didn’t want to use WordPressMU to do this or install another blog, because it was just adding an extra layer of complexity. Both of these solutions would have worked nicely, but this way I can have my cake and eat it. I get differentiated blogs with one stream of posts.

Making a blog bilingual: it can be done easily in WordPress

I finally figured out how to make our website largely bi-lingual (English and Chinese). The pages, sidebars and footers have all been done. I’m now able to drive traffic to the different segments. And all within WordPress.

I have separated the pages into Chinese and English groups, but the bloggings themselves are still the same. However, the changes should help both audiences feel a little more comfortable with the format. The English side located at http://www.nozkidz.com/en/. We’ll be able to drive a lot more traffic that way! Be prepared if you do check it out: use Firefox (for easy language switching) or install East Asian languages in your PC (it’s on your XP disk – you do still have that, right?).

english nozkidz

I wonder if you can figure out how I did it! Clue: Theme Switcher and Sidebar editing!… Do you want to know how? The posts are still mixed so you will encounter Chinese in the blog. But that’s not a problem is it?

WosServer: Tweaking Your Blog for your Stick Part 2

After yesterday’s little experiment, I began playing with the WosServer and found some little tricks for bloggers, would-be marketers or developers.

If you already have a blog or site that you are working with that is live, you can create a full version on Wos. It’s a little fussy but you can do the following things…

For parts 1-5, see WosServer: A Useful Tool in your Armoury.

  • Step 6: Download a copy of the database from your website (via the PHPMYSQL interface or wizard).
  • Step 7: Get and install the WP PHP Admin plugin. Activate it as usual. Head over to the new tab.
  • Step 8: Activate the plugin. Then carry out an import operation to import your downloaded file into the WosServer MYSQL database.

phpadmin plugin used

Image shows: plugin activated and accessing my database.

  • Step 9: (optional) If you encounter a problem with the size of your file, you will need to go into the PHP files in Wos Server, and edit the php.ini file to increase the permitted size from 2M to something more reasonable if you have a BIG blog, like mine.
  • Step 10: Download the complete wp-content/ folder with ALL the pictures, too.
  • Step 11: Move the wp-content/ folder to its rightful location, images, plugins, themes, etc.
  • Step 12: You will also need to change the database name in wp-config.php to your imported database name.
  • Step 13: You will need to edit the ‘options table’ in your database from http://www.yourblog.com to http://127.0.0.0/wordpress twice or you won’t be able to access your blog. It will keep taking you to the live site. You will see the first of the two entries in the wp-options table in the first row named ‘siteurl’, the second entry is on page 4 of the list, entitled ‘home’. Change both of these to your new URL. It’s difficult to change them within WordPress like this, because you will end up on your live blog.

Oh, and when you login for the first, do remember to use your original blog password, not admin/password for the WosServer. Oh, and there’s no email reminder! So don’t forget! The good news is that the plugins/wordpress core updates all seem to work fine as they do in version 2.7. Good luck.

 

WordPress 2.7 – Five Reasons You Shouldn’t Wait To Upgrade WordPress Today!

With the recent and much anticipated release of WordPress 2.7, I was reluctant to upgrade some of my blogs because of past foibles, bugs and unexpected incompatibilities with plugins. So when I read that 2.7 was released, I was initially reluctant to upgrade ANY of my blogs. So I started with a couple of them, and updated, tested things out, and moved on. Ordinarily, I would have waited until 2.7.1 was released as a bug fix for some of the issues that area always present in a full release of WordPress.

Overall, I’ve been very impressed with WordPress 2.7, in the few days that I have used it, and I’m a little frustrated that some of the hosting companies I work with haven’t updated the software on CPanel yet. Of course, Dreamhost jumped in pretty early, and that’s why I was happy to try it out. I’d say that there are five basic reasons I like this version of WordPress more than any previous release.

1. A Simplified Dashboard: You can eliminate clutter!

The dashboard has long been a bone of contention for me, because of the tendency of WordPress to want to flaunt its gimmicks, updates and features to all and sundry. In this version, though, users get to turn off the feeds, through the screen options at the top right. Simply uncheck the things you don’t want. Voila!

wp admin area

Additional features that are helpful are the little downward arrow that occurs at the top of most boxes, in the top right corner of each box. Simply clicking on that arrow or area closes or opens the dialog box in an obvious fashion. You’ll see the downward pointing arrow next to tools (see highlighted area). It works simply in a toggle fashion. These toggle switches are all over the admin area. To find them, just hover over the task bar for each item on the right hand sided.

down arrow in wp admin

The dashboard area is divided into three areas: the sidebar on the left where each of the menu items can be opened and closed; the central column which includes the stats box, the writing box; and the right column that pretty much includes everything else. As you can see from mine, it’s easy enough to pick things up and move them around a lot. Clicking on the words “screen options” highlights an area where you can turn off things you don’t want to see.

The right sidebar includes several new designations which may be confusing to new users. First the ‘pages’ button has moved to just below ‘links’. It used to be located right next to ‘posts’. This confuses me now. I often hover between writing posts and pages, and now I have to look further afield to find the pages button. It seems illogical to place it after ‘links’.

The old ‘design’ menu has been renamed ‘appearance’ on 2.7 but functions in pretty much the same way as the its predecessor. The Tools menu, however, is a new one and features several items that were moved from the former ‘Manage’ menu, including import/export functions. The Upgrade items, though, hint at some of the new features of WordPress that make management much easier (more later).

2. Keeping Upgraded – it’s getting easier!

Plugins are getting easier to manage: You will soon no longer need to use FTP to upload stuff – plugins and core upgrades can all be done within WordPress itself. This leaves ‘themes’ as the only item that now needs FTP. I imagine that future versions of this will remedy this. Other software, such as Joomla or SMF, have long had this ability. Right now, you can upgrade a plugin in much the same way as uploading other items. Find the item ‘plugins’ on the left hand menu. Click it, and you will see it open slowly to reveal four options. To add a new plugin, click on the words ‘add new’, and you will be taken to a page where you can upload a zip file of the plugin which is uploaded and installed. After it’s done, you can activate it straight away. A nice touch. Just hit ‘install now’ to upload the plugin!

plugins management

It’s also much easier now to find new plugins. Take a look at the next screenshot: you will see what I mean! The tags below the upload button hint at the next page. These plugins are from WordPress.org’s own plugin area, and clicking on the tags reveals that they can all be downloaded and installed quickly and without any fuss.

install plugins

In fact, activating and inactivating plugins has also got easier as has removing unwanted plugins. Simply just click on the plugins area on the sidebar, usually under ‘plugins’ >>> ‘installed’ menu option. You’ll find it easy to manage plugins from there, including removing them completely!

But this plugin management hints at another feature (one that I have not needed to try yet)… upgrading WordPress can now be done entirely from WITHIN the admin panel. Take a look for yourself! Under Tools >>> Upgrade, you’ll see the following dialogue.

upgrade wordpress

Very tempting when you can choose to download and reinstall automatically. I have no idea how this works, yet. But it would be a neat variation IF you could upgrade from WITHIN the admin area. Perhaps this is just teasing us.

3. Commenting from WITHIN WordPress

Admins often had to comment in a very odd fashion before: read the comment in the comments area; find the post in the archive, read the post, and then comment in the comment box AFTER the end of the article. Now it’s much easier:

comments reply wordpress

Just hit ‘reply’ to answer the query and a simple but functional comment box will appear just below, enabling you to answer without messing around in the archives! Of course, this presumes that you remember what you wrote!

4. Quick Posting and Quick Editing

The commenting function also has another feature that hints at much more power: the quick edit button. Clicking on the Quick Edit enables you to edit the comment very quickly, without calling up the entire post or page where it is entered. But the ‘quick’ idea has been extended with in several ways: making a powerful trio of blogging tools.

QuickPress : on the admin page, when you login you’ll be taken to a dialog box that enables you to write a short post, with media and tags and publish it in a matter of minutes! While you don’t have a WYSIWYG editor, you can learn some simple codes to faciliate quick blogging (they’re all available in the Write Post area).

wp admin area

Quick Edit is also enabled in the post and page view, and allows you to quickly update a number of features (the usual suspects that a busy blogger will forget in the heat of the moment!): such as tags, categories, slug, date or more…

quick edit post

This combined with Press Links (shouldn’t it be called ‘Quick’ Links?) means that posting, editing, linking and commenting can all be carried out fairly rapidly.

5. You can now add media without creating post

This is another puzzle from the previous version that was finally finished! For years, I never thought about uploading media to WordPress. I simply created a post and added the stuff I wanted… until last month when I created a batch of videos and wanted to upload them all at once. I would have had to create a post and add each one one by tedious one! Now it seems, I can simply upload media as I need and when I’m ready I can create a post and find the media I already uploaded! It’s funny, but that’s something you don’t need, until you really need it! And now it’s here!

upload new media

Now it would be nice if I could upload a number of files at one go! Oh, wait! It does! Or at least I think it does! I’m practising uploading media now! Now I wonder how I can create a simple gallery from these files! …

Spam, Ham: What do you do with over 1000 of them in your comments queue?

After New Year, I came back to a huge glut of spam in my database! I hadn’t configured a standard plugin because I thought the blog would go relatively unnoticed! Boy! Was I wrong or what? The queue contained over 1000 spams, that didn’t include spam in my comment plugin either.

spam I am

So how do you deal with a huge queue of spam like that? I spent ages clicking page after page when I realized that I was doing it the stupid way.

Continue reading

30 Tweaks for Setting Up WordPress For the First Time

This is a short checklist of items that I created when I was setting up a friend’s new blog. It’s pretty much all the tweaks, I make to a standard install of WordPress that I use.

Once you have created your admin user:

  • 1). Login and set the password to something you can remember!
  • 2). Update any pre-installed plugins that you need, remove any that you don’t.
  • 3). Set the title and Tagline in General Settings
  • 4). Check your WordPress address is correct
  • 5). Update your email address.
  • 6). Check the membership of the blog including the New User Role
  • 7). Don’t forget to check your timezone!
  • 8). Go to the writing tab, and check the size of the post box! I usually set mine to 15 lines.
  • 9). For remote publishing, I always check the XML-RPC box.
  • 10). Add any Update Services that you want to ping.

On the reading tab in Settings:

  • 11). Set your frontpage, to either blog style or have a static page.
  • 12). How many posts do you want per page? Five is a reasonable number
  • 13). Set your feed to show the ‘x’ most recent posts. I usually set that to 10 if I’m doing full feed or 25 if not.
  • 14). Set your feed to show the full text or summary. Most people recommend the full text for feeds.

On Discussion Settings:

  • 15). I always set “An administrator must always approve the comment” which is ideal for a new blog, and prevents unnecessary spam.

On the Privacy tab:

  • 16). I always set to “I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers” but if you’re for a small or private audience, then check the other option.

On the Permalinks tab:

  • 17). Set the options for your permalinks. I usually use the /%postname% tag with something else, for example ../archives/%postname%/

Plugins – There are two plugins that are pretty useful to get at the beginning:

  • 18.) Akismet for spam. You’ll need a WordPress.com API key for this.
  • 19.) WP-Cache Manager. You’ll need to activate it, enable the manager and set the time (in seconds).

Users Tab – On the Users tab, click to find your admin profile:

  • 20.) Set the Nickname to something you like. Hit ’save’.
  • 21.) Set your “Display name publicly as” to the Nickname in 20.)
  • 22.) Check your basic details, Website, and any Bio. Info.
  • 23.) Go to the Design Tab.

If you have a good host, you’ll have a variety of themes pre-installed.

  • 23.) Find a good one, activate it.
  • 24.) Go to the Widgets and select the ones you need.
  • 25.) Go to the Theme Editor…
  • 25.) Add your Google Analytics code in the footer!
  • 26.) Add any other code that you might need to the footer.

General Tidying Up: Let’s set the links categories

  • 27.) You will need to decide what links categories you need.
  • 28.) Remove or add any particular links you need in the blogroll.
  • 29.) Set your initial categories for posts, too.
  • 30.) Remove the Hello World post and default links in the blogroll!

This has been honed over numerous installs of WordPress, but is by no means the only possible set. If there are any errors, please read the comments and submit one!

WordPress 2.7 is coming – the preview…

Well, WordPress 2.7 is just around the corner, yet another upgrade, yet another version that is likely to introduce all the things we love and hate about WordPress

New Features and Bugs

Take a look… I won’t be in the first wave of upgrades at all. I’ll likely hang around for version 2.7.1 before upgrading unless there’s an immediate requirement to upgrade.

I think the interface will be useful and more friendly, but I won’t really know until my customers have tried it out! For more information, check out an extended discussion at WebTools Collection.

WordPress MU vs. WordPress Vanilla

It’s been about a week and a half of using WPMU, since I switched full time. And it’s been a real trial but I am slowly bringing the blogs back to full speed. Obviously, blogging is going slowly and each stream will be less frequent than the full blog, at least until I’m more able to handle the beast called MU.

It’s not for newbies!

WordPress is a great application for bloggers, and it’s a great way for relative newbies to cut their teeth on managing, installing and updating a PHP based system. It’s fairly robust on the installation front, quite stable once running. However, WordPress MU shares many of the features, it’s a little more tricky to set up; but the limitations (mostly for security) really drive me nuts at times!

Stubborn and spiteful

There are quite a few issues with plugins, themes and general wordpress functionality in the MU environment. In general, Javascript and other scripts DO NOT work out of the box. Additionally, some common and important plugins just don’t play nice with MU at all. I’ve had problems with the sitemap plugin, and several that share the database. Any themes that require any plugin with javascripts or popular database reliant plugins will likely encounter severe problems. And you can forget YouTube Videos out of the box, though there are solutions.

Forums and Advice

If you are considering switching to MU, then consider this: many of the plugins that I have tried, (for example, to install Adsense or YouTube) simply don’t work, though you’ll find the odd one that is worth it’s weight in Gold. Similarly, advice that is posted on forums, blogs and the Codex may or may not be relevant to your install, and there’s little to tell either way.

So, if you are considering switching, I’d suggest a trial install of MU on another domain so that you can figure out if you will be happy with the switch. I’m still finding the problems annoying, but I am not switching back: the power of this platform is surprising, and I’m only beginning to understand what I can do.

Have you tried the switch? Let me know how it went!