You will see that many sites add a digg button within their post content. Some new users simply open single.php and add the digg script which will cause a digg button to show on all blog posts. But what if you want to display digg button on only specific posts? You can add it manually on each post when writing a post, but that is not the most efficient way. In this article we will show you, how you can add a digg button on specific posts by simply using Custom fields.
First open your single.php and find a code that looks like this: Read more…
By default, WordPress allows certain HTML tags within the comments such as <a> <em> <strong> etc. If you notice a lot of SPAM comments also contain these tags. Most SPAM comments are made by bots and scripts, which are using HTML tags. If you simply disable HTML from your WordPress comments, it can prevent a lot of SPAM. In this tutorial we will show you how you can disable HTML tags in your WordPress comments.
This tutorial will only disable active HTML tags. So someone can still post something like: Read more…

In this collection, you’ll find 10 excellent, high-quality, free beautiful WordPress themes. These themes range from being elaborate and colorful to being clean and simple so that you may find one that suits your design tastes.
Note: Be sure to check out the license of the theme for restrictions in usage (if any) and it’s always good (and very much appreciated) to attribute the designer even if they don’t explicitly ask you to. Read more…
Within the code in the previous section, I mainly created a simple text box and a button. The textbox is named “txtContent” and the button is named “ButtonShowMsg.” The button is defined with an “onclick” event which calls a JavaScript function “ButtonShowMsg_onclick,” which is defined as follows: Read more…
Recently i created JavaScript application which tests user connection speed, in fact it measures connection speed between user and my server, but that aside, i decided to share with you mechanics and technology i used to create this tool, maybe some of you guys will find this helpful. Also i want to promote interesting small AJAX framework
.
Before we start, you need to have basic idea of what AJAX is, if you need to you can read my Introduction to AJAX post. Also, this time instead of creating all functions by myself i used advAJAX, it is lite (only 15kB) and very easy to use AJAX framework, created by Polish web developer who goes by the name Anakin. You can download it here. Full english documentation can be found here. Read more…
Let me explain why i selected such title. When writing AJAX scripts there is a part of code that always have to be included, it is pretty much like DOCTYPE in html, you do not have to understand it, just copy and paste, more over our code will be a function which takes no parameters and only returns one as XMLHttpRequest. If you do not know what this object is suggest you reading my introduction to AJAX web development.
Creating AJAX Object
Like i said you do not need to know what this function will do but anyway i will explain it shortly. This function is needed because Microsof Internet Explorer has it’s own idea of how AJAX in browsers should be initialized, in fact other browsers do not require to initialize AJAX XMLHttpRequest class at all, while IE want it to be initialized as ActiveX object. Fortunately this is the only difference between AJAX scripts for Internet Explorer and any other web browser which supports JavaScript. Read more…