Posts Tagged ‘PHP’


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 »


PHP Class: First Person View

By Oscar Dias on August 21st, 2010 with 7 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 »


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 »


Setting up a PHP development environment for Windows

By Oscar Dias on December 18th, 2009 with 1 Comment »
PHP

In this post I’m going to explain how to install PHP in Windows and how to set it up so you can also debug it. We’ll use XDebug and NetBeans in order to make it work.
Read more »