WordPress Coding from Scratch

I just want to share my wordpress coding exercises with my readers.

The very first in this series is “wordpress coding from scratch”. It will teach you how to start your own wordpress theme from the scratch with minimum coding.

You need to create a theme folder in the “wp-content/theme” folder.

Suppose we name it “my-theme”.
In that folder you create a ‘style.css’ file and write few lines of code that can just start your first wordpress site.

Now you need few more files like : ‘index.php’, ‘header.php’, ‘content.php’, ‘sidebar.php’ and finally ‘footer.php’.

For further code snippets please visit my Github repository:

GITHUB

Now your first wordpress website looks like this:

wordpress from scratch

wordpress from scratch

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s