Monday 13 April 2015

Creating a WordPress Theme




Is it difficult to build a WordPress Theme?

Actually, to build a wordpress theme that is not too difficult if you really have a strong desire to make a wordpress theme itself. Provision to make a wordpress theme is not much different from blogspot, you only need a couple of the following provisions.
  1. Desire
  2. Understand the HTML language
  3. Understand CSS
  4. Little understood PHP
  5. Knowing some default code wordpress
  6. Understand the full HTML structur.
Dictionary Language in the Internet

With the provision of the above, I hope you've been able to make a wordpress theme your own. To be honest I also only know a bit of PHP, but if you frequently write the language you will understand and memorize the structure and the PHP code. The conclusion to build a wordpress theme is not too difficult.

The difference with Blogspot?
Previous already mentioned that building a wordpress theme is not too different from blogspot. Well, then what are the differences between degan blogspot wordpress theme. In my opinion, wordpress theme is easy to modify as desired rather than blogspot maker. Since the start of the structure of the title, the content is the author's own and others that determine what kind of structure.

The analogy that the IOS operating system as a template blogspot and Android as wordpress theme. Easier to modify your android with some custom rom and other than iOS is already very complex.

How to Create a WordPress Theme?
Well maybe this answers your most awaited right? I'm not going to explain everything from beginning to end. To create a wordpress theme itself you certainly need to have a stock that has been mentioned previously. Well physical supplies you need to have that

  • Latest Wordpress
  • Localhost (xampp / other)
  • Laptop / computer
  • Mouse

With the provision of the above physical you can already make a wordpress template itself. Well, unlike blogspot, wordpress has some extension (php files in the theme) What are the important files? Here as an example that I created.


Make Your Own WordPress Theme

Seen in the picture above, wordpress theme complex consists of the following files

  • Comments.php: Contains special coding to form comments
  • Footer.php: To create a footer and usually contains the suffix HTML tag (</ HTML>)
  • Functions.php: Usually to re-register a widget in wordpress theme
  • Header.php: Usually contains an HTML tag prefix and tag HEAD
  • Index.php: To build a homepage / index / initial page of the site
  • Page.php: As the page
  • Screenshot.php: To display a screenshot theme in theme editor
  • Sidebar.php: contains code that is important in a sidebar
  • Single.php: As the article page
  • Style.css: Contains the CSS code and information wordpress themes

That's just my experience in making a wordpress theme, for those of you who would like to ask please ask ask.fm widget located on the sidebar of this blog.

No comments:

Post a Comment