Archive

Posts Tagged ‘Wordpress’

Upgrade Wordpress using Export and Import tool

December 29th, 2008

After looking through forums, I saw a lot of people (including myself) experienced a bad time with wordpress upgrade where thing doesn't always happen in the way you expected to happen, either the whole thing get screwed up or not 100% working in the way it should be. The worst thing is they could not revert back the old working version.

If you have similar problem above, maybe this post is a great tip for you. This will also be a good post for my future reference. I have used this method when I upgrading this website (computer-faqs.com).

Table of Content

  • Before upgrade
  • Upgrade
    • Export
    • Install
    • Import
  • After upgrade
  • Prepare to go live
  • Simple Rollback
  • Summary

Read more...

FAQ & Tip ,

How to embed HTML Code in Wordpress post?

December 27th, 2008

Occasionally I am writing a post about HTML which I need to post the code to illustrate my argument (I guess I am not alone).

By default, WordPress will convert unrecognized uses of < and > into characters which actually look like &lt; and &gt;, which will "look" like a < and a > when posted. Or, if it finds the use of an HTML tag within the post, it will use the tag like it is HTML and you will have funky looking text and a messed up layout. (quoted from codex discussion)

I find this very frustrating when my post doesn't appear to the way I wanted it to.

How to get around it?

You just simply convert your html open and close bracket "< and >" to "&lt; and &gt;". However you are not going to do it one by one or do search-replace in text editor, it will be time consuming.

I wrote a simple Java Swing program which does just what I mention above plus it can convert html character code back to html code in case you need to make any changes.
Read more...

FAQ & Tip, Software , ,