Archive for December, 2008

20+ Useful WordPress Code

Sunday, December 21st, 2008

Here are some collection of WordPress Code for theme designer, or just enjoy customizing your existing WordPress theme. This should be an easy reference as I consolidate them all into one post.

Recent Posts Display

< ?php query_posts('showposts=5'); ?>

(more…)

Popularity: 5% [?]

How to Hide Image Address

Wednesday, December 10th, 2008

Here is a simple php code to hide the image address of our website. It can use to hide url of flash too.

< ?php
$image_path="images/path/to/";
$image_file=$image_path.$_GET['name'];
$sTmpVar = fread(fopen($image_file, 'r'), filesize($image_path));
header("Content-type: image/* ");
echo $sTmpVar;
?>

(more…)

Popularity: 3% [?]

About Office-it.orG

This is a site to share my knowledge, discovery and experience related to my hobby and work. Most articles on this site are related to web design, web development, graphic design, short reviews, tips and tricks. I sometimes write some about Microsoft Office Application too.

Want to subscribe?

RSS Subscribe in a reader Or, subscribe via email:
Enter your email address:  
Find entries :