Sanjeev Sabhlok's notes on technology, hardware, gardening

Hindi in WordPress


To write and display unicode Hindi font correctly, you have to do some editing in the config.php file of your blog.

Open up ‘wp-config.php’ from the root directory of your WordPress installation.Add ‘//’ at the very beginning of these two lines:define(‘DB_CHARSET’, ‘utf8′);define(‘DB_COLLATE’, ”);So that section should now look like this://define(‘DB_CHARSET’, ‘utf8′);//define(‘DB_COLLATE’, ”);


The inverted commas are now seen as diamond images with a question mark inside them.  Is there a way to fix that? Looks like this is a consequence of fixing the wp-config.php file.


Nothing wrong with wp-config.php file. It may be your theme or plugins issue. I think the problem is with title only. Try to retype the title and update the post




Quite a nuisance with Hindi plugins – none of them are working.

Here's a closest description of the problem:

Solution to my question:

Continue Reading

Whitehouse theme issues in WordPress

The header disappears periodically. The URL should be:

The theme has a backup option. Should use it.

Continue Reading

Uploading videos on WordPress

a) FLV is the best format (flash)

b) Youtube and other such are a total nuisance given their low limits (100MB/10 minutes). Avoid them.

c) Veoh allows more than 10 minutes but requires a log on. A nuiscance, again.

d) BEST software for video editing: Videopad video editor (Ulead is good but old versions can't deal with new media). It can easily combine/splice FLVs as appropriate and convert to virtually any format.
(or try Freevideotoflash…. [DVDSOFT]

e) Make sure you install an appropriate plugin into WordPress. In my case I have used FLVEMBED (free)

f) Upload FLV on the server, and provide a POSTER (jpg) to act as the front end.

g) Insert the video by inserting as HTML:  [flv:movie poster width height]  where movie is the URL of the movie and poster the URL of the poster. A good width height setting is: 480 360. But if you are using on the right bar of the blog, shrink it.

Continue Reading