Integrating WordPress with CodeIgniter

By Oscar Dias on July 2nd, 2011 with 4 Comments »
WordPress and CodeIgniter

After a long time since my last post, I’m going to start writing again. My focus on the next articles will be CodeIgniter. The first thing I want to show is how to integrate CodeIgniter with WordPress. More precisely, I’m going to show how to use WordPress users inside CodeIginter. The motivation for this is that you won’t need to handle user authentication inside your application.

Read more »


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 5 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 »


PHP Class: First Person View

By Oscar Dias on August 21st, 2010 with 6 Comments »
PHP

This article is about a small PHP Class that I wrote this week. The idea was to create a first person website for a virtual tour or a street view functionality. So I created the First Person View Class which allows you to move in four directions with four different angles through a map matrix loaded with images.
Read more »



Tip: How to Use the Official Twitter Tweet Button

By Oscar Dias on August 14th, 2010 with no Comments »
Twitter

Recently I showed here how to create sharing buttons for different social media. At the time there was no official Twitter code for this purpose. But this week Twitter released it’s own Tweet Button. So I’ll quickly show how to use it.
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 »


Adding Share Buttons for Twitter, Facebook, Buzz and Others

By Oscar Dias on July 7th, 2010 with 2 Comments »
Social Media

Today I was working on a project and I had to search for some share functionalities. I wanted to get the original code from the original social media websites and not a third party hack or something like that. So I found codes for Twitter, Facebook, Google Buzz, StumbleUpon, Reddit and Digg. The only one that’s not from the original website is Twitter, so I used Tweetmeme instead.
Read more »


Agile Brazil 2010 – Brazilian Conference on Agile Methods

By Oscar Dias on July 2nd, 2010 with no Comments »
Agile Brazil 2010

Last week took place in Porto Alegre, Brazil, the Brazilian Conference on Agile Methods – Agile Brazil 2010. The event was a great opportunity to see presentations about different methods and experiences related to the agile community. I was there and I want to write a little bit about what I saw.

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 2 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 »