Creating a Wordpress Theme from Scratch

1,362 views
1,285 views

Published on

This is a small set of slides that show the fundamentals of a creating a Wordpress theme.

Published in: Education, Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,362
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Creating a Wordpress Theme from Scratch

  1. 1. Scratch Buildinga ThemeIn WordPress
  2. 2. Why create a theme?● learn the fundamentals● hard code plugin functionality● reduce code bloat
  3. 3. How to create a theme● Required files: ○ style.css ○ index.php
  4. 4. How to create a theme● Template hierarchy is important.● Start developing the most basic template and create more specific templates as you go.● http://codex.wordpress. org/Template_Hierarchy
  5. 5. How to create a theme● The Loop is the <?php if ( have_posts() ) : basic code block while ( have_posts() ) : used to display your the_post(); content. endwhile;● http://codex. else: ?> wordpress. <p>Sorry, no posts org/The_Loop matched your criteria.</p> <?php endif; ?>
  6. 6. How to create a theme● menus● functions.php
  7. 7. CodeYou can see my code in my github account.https://github.com/BFTrick/creating-a-wordpress-theme-from-scratch
  8. 8. EndThat is the most basic intro for Wordpress that Ican come up with.● http://codex.wordpress. org/Theme_Development

×