Fighting Comment Spam with Bad Behavior, Akismet, Spam Karma

I’ve been using Akismet since I started using WordPress in early 2006. It does a tremendous job of detecting spam. However, it’s not perfect and a few messages gets past its filter each week. Since I enforced moderation on new posters, this kept the spam from showing up on the blog. However, that measure prevented [...]

Google AJAX Search Results in WordPress

Not even a day had passed since I figured out How to Integrate Google Custom Search Engine Results into WordPress Blog Template and I figured another way to integrate search results into WordPress.

As described at the site, “Google AJAX Search API lets you put Google Search in your web pages with JavaScript.”

One of [...]

How to Integrate Google Custom Search Engine Results into WordPress Blog Template

I was checking out the control panel for my blog’s Google Custom Search Engine and saw something under the Code tab that I hadn’t noticed before: Search box and search results code for your website

I was intrigued at the thought of having the search results show up with my blog’s theme. After completing my [...]

How to Add Commenting to WordPress Page Template

If you want to enable commenting on a WordPress page (as opposed to a post), you would need to add the following in the theme’s page.php file, which is the default template for pages:

<?php comments_template(); ?>

If you created a custom template file, you would need to put the code in that file also.

[...]

How to Switch Title Tokens in WordPress

I wanted to switch my blog’s title tag to go from:

Thu Tu’s Blog > Post Title

to

Post Title | Thu Tu’s Blog

It turned out that it wasn’t as simple as switching the tokens around in the theme’s header.php file.

I did a search and found the solution here.

When I copied and [...]

 

May 2012
S M T W T F S
« Apr    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories