phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


Wordpress - Theme: Building Your Own Theme

Tag: wordpress, theme   Category: Web Design, PHP Application
post: 28 Jan 2008 read: 2,086


Wordpress theme step by step tutorial - part 1: Although thousands themes available, You may want to create your own theme. Make something different from others. You can customize from exist theme or build from zero. In this post, we will learn about wordpress theme from zero. from blank page. Let's do it.

Ok, in this post, we create blank page. We just want to look very basic file structure at wordpress theme. We don't write any code. Don't worry, next post, we begin to write some lines code.

  1. Create a folder named "crown" within \wordpress\wp-content\themes. It means we will create a theme named "crown". Don't ask why I choose this name. Just catch what slide from my mind.
  2. Create a file named "index.php" within \wordpress\wp-content\themes\crown.
  3. Create a file named "style.css" within \wordpress\wp-content\themes\crown.

    wordpress theme - build blank page

  4. Open style.css use your text editor. Add some description like following image:

    wordpress theme - describe about this theme

  5. Now, activate your theme.

Don't worry if you just get blank page.

wordpress theme - activate new theme



Series this article:
Wordpress - Theme: Installing and Changing Theme
Wordpress - Theme: Building Your Own Theme
Wordpress - Theme: Writing First Code
Wordpress - Theme: Wordpress Code Style
Wordpress - Theme: Showing the Post Excerpt on the Front Page
Wordpress - Theme: Showing Category Name for Each Post
Wordpress - Theme: Showing a Post with Date and Author
Wordpress - Theme: Planning Theme Design
Wordpress - Theme: Writing Basic Code for Two Column
Wordpress - Theme: Splitting Index Become Some Small Parts
Wordpress - Theme: Uniting Various Small Parts
Wordpress - Theme: Separating Stylesheet From Header
Wordpress - Theme: Designing Simple Header
Wordpress - Theme: Placing Content to Body
Wordpress - Theme: Showing Archives, Categories, Links in Side bar
Wordpress - Theme: Creating Footer
Wordpress - Theme: Modifying Single Post Display
Wordpress - Theme: Showing Comments at Single Post
Wordpress - Theme: Showing Comment Form
WordPress - Theme: Showing Trackback,RSS, and Other Detail at Single Post
WordPress - Theme: Showing Title and Other HTML Header
WordPress - Theme: Making Theme Widget Enabled

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
SMS : Sending SMS with PHP and ActiveXperts (Part 1)

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


624
posting