Subscribe via

How to Add Ads Inside Your Post Content

As a webmaster, it is always good to experiment with advertisement placements to maximize your ad revenue. One possible ad placement is in the middle of your posts. One way to do this is to manually include the ad into every one of your post text (I’m not a big fan of this idea). The better way to do it is to modify your theme to automatically show this ad in your posts’ content. Since it’s a bit tricky, I’d like to share a quick tip on how to do this.
Read on…

WLTC: How to Highlight Search Terms with jQuery

Highlighted Search ResultsIn this post, I would like to highlight a good tutorial I recently wrote on Weblog Tools Collection in case you guys have missed it.

The tutorial shows how you can easily hack your WordPress blog to highlight search terms using some jQuery magic.  I particularly like this method because it is an easy modification and jQuery will let you highlight any text within any HTML element no matter if the text is in the post title or in the post content area.

Read the full article here.

How to Make WP Greet Box Work on Non-WordPress Pages

I had to
photo credit: miss604

A few people have asked me how to make WP Greet Box work with non-WordPress pages.  Luckily there is a way to easily do this and I will show you how in this tutorial:


You must have WordPress installed with WP Greet Box plugin enabled.

JavaScript Modification

You will have to make a copy of “”, modify it, and place it somewhere accessible by your non-WordPress page. As an example, I will place a copy of the file at “”. Now open “non-wordpress-platform/js-mode.js” and modify the line:

url: "index.php",

to point to your blog WordPress blog index.php.

url: "/index.php",

For example, if your blog is installed under “”, you would change the code to:

url: "/blog/index.php",

JavaScript Placement

There are a few Javascript files that you need to reference to do this. Make sure you drop the following Javascript references into your non-WordPress page:
Read on…

Weekend Links – Mar 21, 2009

Automatically Deal With Duplicate Content in WordPress

The Official Google Webmaster Central Blog recently announced that they now support the ability for you to specify the preferred version of a URL. This means that following these guidelines will help you eradicate your site’s duplicate contents that Googlebot sees.

Why would you do such a thing? Simply because many black-hat SEO folks abuse duplicate content to gain search ranking and Google tries really hard to detect and penalize them. The last thing you want to do is present yourself as an SEO spammer to Google.

In the post, Google is saying that you can easily tell the Googlebot the preferred version of a page by specifying the following tag within your <head></head> tag:

<link rel="canonical" src=""/>

Read on…

Weekend Links – Jan 9, 2009

  • 148 Icons Free To Use – I love icon packs that are free not only in price but from restrictions as well. Introducing Bright! which is an icon pack featuring 148 han…
  • How To Display Feed Count For Google FeedProxy In Text – Everyone knows that feedburner had merged with Google. This also lead to the previous feed counter in text doesn’t work. I just found out th…
  • 10 Killer WordPress Hacks – by Jean-Baptiste Jung. 2008 was a very good year for the WordPress community. The software was updated numerous times, lea…
  • Design Your Way to More Blog Comments – StylizedWeb has an interesting post up on increasing the number of comments on your posts. It covers a lot of ground, and has some tips wort…
  • The Essential Guide to Growing Your Blog on Minimal Time – This is a guest post from Leo Babauta of Zen Habits, author of the new best-selling book, The Power of Less.
    If you’re like most bloggers, y…

Read on…

Weekend Links – Dec 5, 2008

  • How did I reduce CPU overhead problem caused by MySql? – From last day, We were having problem with a project which was shut down in the middle due to heavy traffic. As a technical manager, I was t…
  • Feed for Drafts (Plugin) – We are already working with four WPEngineer – …
  • wordpress google checkout – How to integrate Google Checkout with WordPress? A simple enough question!
    I decided to test the two obvious routes for flexibility, time, a…
  • What I Like Most About WordPress 2.7 So Far – When I launched the all new a few weeks ago, I decided to take my chances and roll forward with the latest Beta of WordPress 2….
  • How to: Deny comment posting to no referrer requests – To achieve this recipe, simple paste the following code on your .htaccess file, located at the root of your WordPress install. Don’t forget …
  • Read on…

Weekend Links #3

Weekend Links for the week ending on 07-25-08

  • Enhanced Sidebars with Dynamic Content: Visitors tend to ignore the sidebar because most of sidebar content do not change. I’ve been experimenting with this myself and I was planning to write a similar post but Vandelay Design says it better (for now at least).
  • WordPress Tips + Things You Can Do After Installing WordPress: It is more like “Things You *Should* Do After Installing WordPress” both for security purposes and usability.
  • How to write a solid and stable WordPress plugin: Mark Jaquith tells us [WordPress plugin developers] how to develop solid and stable WordPress plugins.
  • The Deceptively Simple Steps to Persuasive Writing That Works: This technique requires no actual writing ability, but it does work! It’s so simple I can’t believe I never did it until recently.
  • Read on…

Weekend Links #2

Weekend Links for the week ending on 07-18-08

Adding More Sites Social Homes Widget Plugin

Social Homes Widget is a small but neat little plugin that lets you add links to your various social homepages in your sidebar. Of course you can do this manually, but it’s a lot nicer to be able to manage this in the widgets section in wp-admin instead of having to dive into your sidebar.php every time you want to modify the list.
The plugin supports 19 different social home links. This is more than enough for most people, but not me. Today I found that I needed to add my Plurk homepage to this list. So I found a quick hack to get this done fast, instead of submitting a request to the author. All I did was: Read on…