Please check out the new Help Developer forum

Show Sidebar

Create an Archives page in Wordpress

December 6, 2008

Have you ever seen Archives pages in Wordpress and thought ah I could do with one of them on my blog, no, oh well stick around you might learn something else

In this tutorial I am going to show you how to produce an archives page to show the latest 20 posts, the blog’s [...]

Part One: Using PHP to Create and Draw Images

August 15, 2008

PHP Images Although you may not have known it, PHP comes equipped with many functions and libraries that allow the developer to create images using the popular server side language. In today’s post, we are going to cover the basics of creating and drawing images using PHP. Drawing images in PHP is not as difficult as you might think, in fact it can be used to do all sorts of cool tricks such as bar graphs and pie charts. You will need to be sure you have all the necessary updates and versions, which I will touch on briefly in the beginning. You can view the demos first: Demo 1, Demo 2, Demo 3

Create a tabbed featured posts area in Wordpress

July 10, 2008

A couple of days ago I released version 2.0 of my premium news wordpress template - Simify, one of the templates main features is the tabbed area for the featured posts. In this tutorial I am going to show you how to produce a tabbed area for your featured posts on your blog complete with thumbnail support. This has become common in many premium wordpress templates so if you are wanting to go into this field then this is a must. I am going to use the Default Wordpress Template for this tutorial, but you can add it to pretty much any wordpress template you like.

Adding Thumbnails to your posts in Wordpress

June 11, 2008

In this tutorial I will show you how to add thumbnails to your posts in the very popular Wordpress. I never really knew how to do this till about a week ago when I released Simify, but now I do I am happy to show you how I did it.

Create a tabbed AJAX area in Wordpress

May 30, 2008

A lot of blogs are now opting for a tabbed area in the sidebar which contains some of the widgets that were previously on the sidebar, this saves space and makes the interface much more manageable.
This effect is achieved with a mix of Javascript and CSS and in this tutorial I will show you how [...]

Add social bookmarking to wordpress

April 21, 2008

In this tutorial I am going to show you how to create a quick and simple social bookmarking option to your blog similar to what you see on this site. This is for wordpress themes only although with a bit of tweaking it may be able to work on other blogs.
This will be the final [...]

PHP Cookies

April 2, 2008

A cookie is used to store data on a users computer. Creating and retrieving cookies and their values is an easy process in PHP and in this short guide I am going to show you how to use cookies.
Creating a cookie
The Code
setcookie(”cookieName”, “cookieValue”, cookieExpirationTime);
an example:
setcookie(”visitor”, “seenPage”, time()+3600);
this creates a cookie called visitor with the value [...]

Count number of records in MySQL database

March 26, 2008

There may be a time when you need to output the number of records you have in a MySQL table, say for example if you are hosting images, it would be nice to tell your users how many images you have on your site.
This can be achieved simply with the following code:

<?php
$result = mysql_query(”SELECT * [...]

Simple File Uploading with PHP

February 22, 2008

In this tutorial I am going to show you how to create a simple upload script which will enable you to upload .gif, .jpg and .png images. This can be enhanced to allow more formats if you wish but I will not cover this in this tutorial.
Firstly we want to create the file, I am [...]

Create a PHP contact form

September 8, 2007

When you go to most websites you will most likely see a contact form on their contact page. Why? Well, it is a) easier for the user, just fill in a few details and click Submit and its done and b) because it masks the email address so that visitors cannot see the address which [...]