Archive for the ‘WordPress’ Category


How to Add a Rate Field to WordPress Comments

By Oscar Dias on September 28th, 2010 with 14 Comments »
WordPress

In this article I’ll show you how to add a rating field to your WordPress comments. We’ll work with PHP to enable the new field and show it in the comments template. Also, we’re going to do some styling in order to give a nice look to the rate system. Finally we’ll also create a small JavaScript using jQuery to enable it.

Read more »


Adding Custom Information to WordPress Posts

By Oscar Dias on September 12th, 2010 with 6 Comments »
WordPress

In this article I’m going to show how to add custom information to your WordPress posts. We’ll start with the standard custom fields, very useful if you’re the theme developer and the only blogger. Next I’ll show you how to create your additional fields. They’re work pretty much like the custom fields, but you can add a name and description to them, so your theme users know what to write there. The last thing I’m going to show is the custom taxonomies added in WordPress 3.0.

Read more »


Creating a WordPress Theme (Part 6): Footer

By Oscar Dias on July 23rd, 2010 with 3 Comments »
WordPress

This is the last part of the series. We’ve already seen the design creation, an introduction about the WordPress platform and the coding and styling of the entire theme except the footer.  So, in this last post, we’re going to do the footer and, to finish our blog, let’s also see some plugins. The footer is pretty simple and we’re going to add some additional styles that we’ve been using during the series.

If you want to catch up with the current status of our theme, please download it here.

Read more »


Creating a WordPress Theme (Part 5): Pages and Posts

By Oscar Dias on June 22nd, 2010 with no Comments »
WordPress

In this part of the series we’re going to create the templates used for pages and posts. The page template is very simple because it only has the basic structure of our design. The post template has more details, which makes it more complex. In order to complete the post page, we’re also going to do the comments template.

The current file with the current theme can be downloaded here.

Read more »


Creating a WordPress Theme (Part 4): Home Page

By Oscar Dias on June 7th, 2010 with 4 Comments »
WordPress

As we continue with our theme’s development, I’ll show you in this article what changes we need in our index.php. So we’ll continue changing the files we copied from the Default theme and we’ll create new CSS styles. In order to complete the main part of our home page, we’ll also prepare our sidebar and add some functions to our theme.

If you didn’t read the previous article, click here to download our theme’s files.

Read more »


Creating a WordPress Theme (Part 3): Header

By Oscar Dias on May 30th, 2010 with 4 Comments »
WordPress

In the Part 3 of our series, we’re going to start (finally) with the development of our WordPress theme. As I’ll not be able to show everything in one article, I’ll show only the header development today. We’re going to use the Default theme as our starting point and change it according to our needs.

Remember to download the final design created in Part 1, because we’re going to use the Photoshop file to extract the header background, the menu background and the social media icons.

Read more »


Creating a WordPress Theme (Part 2): Introduction

By Oscar Dias on May 24th, 2010 with 7 Comments »
WordPress

In this second post from our series about WordPress theme creation, we’re going to give you an introduction on how the themes are structured. First I’ll show briefly how to install WordPress and how the folders were structured. Later we’ll continue to an overview and further explanation about the necessary and additional files of a theme. I’ll also show some functions used by WordPress to structure the web pages.
Read more »