Working on FIW.ME!

We are currently working on a next generation URL shortener!

Month: January 2014

Create your own WordPress theme from scratch [Part 3]

In last part we have coded index.php and header.php,  here we will code content.php, this page will display the posts and search results, and posts under categories, pages , etc. here is the code for content.php

The above code looks to0 complicated, let me break it for you line by line.

Create your own WordPress theme from scratch [Part 2]

Here is a basic theme idea, how the things are gonna be arranged in the theme. First, create a empty folder in wordpress’s main directory -> wp-content -> themes, name the new folder as testtheme. Now create a new css style sheet named style.css and add the below code to it and save it to empty folder of theme.