Lolz text effect using GIMP !
Scribbled on Friday, August 15th, 2008This time its about some fancy text. “Lolz text effect” - as I call it. Here is the sample and outcome.

Sample Text

Final Text
Now it time for tutorial ! So read on…
Satyam Jananam Anantam
This time its about some fancy text. “Lolz text effect” - as I call it. Here is the sample and outcome.

Sample Text

Final Text
Now it time for tutorial ! So read on…
Lolz…tis is pure ecstacy. I wish I had a digital pen etc to do things more fine 
Anyway here is some mediocre editing by me.

Sample Greyscale Image

In-transition

Final Image
Inspired from: http://purplink.deviantart.com/art/Colorization-Kate-Beckinsale-33822062
Using plugins for every litte thing in Wordpress is a really bad idea. At least I like to have my own solution before anyone else’s. So I read wordpress function reference and database schema. At first it seemed so easy that I thought why would anyone make a plugin for this. Here is the first code that is itself given in Wordpress site to display random posts.
[sourcecode language='php']
$rand_posts = get_posts('numberposts=5&orderby=rand');
foreach( $rand_posts as $post ) :
?>
[sourcecode language='css']
have_posts()) : $recent->the_post(); ?>
[sourcecode language='css']
$querystr = "SELECT * FROM (SELECT wposts.* FROM $wpdb->posts wposts WHERE wposts.post_status = ‘publish’ ORDER BY rand()) as y limit 5 “;
$pageposts = $wpdb->get_results($querystr, OBJECT);
?>
is a nested subquery where the query inside the brackets retrieves the posts that are published (it includes published pages too) and then order it by random. This randomly ordered list is then used to retrieve 5 first posts.
See the result at the bottom of this website ;p
Though I haven’t tested the performance but it works fine here.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « May | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||