Transcript
Page 1: Wordcamp 2010 Themes for Beginners

WordPress Themes for Beginners(non-programmers)

Bonnie VaskoVaskoInteractive.com

@vaskointeractv

Page 2: Wordcamp 2010 Themes for Beginners

Bonnie Vasko

UI Developer at Comcast (until recently, that is)

Developer at NetReach (maker of cmScribe cms)

Freelance web developer@vaskointeractv

Page 3: Wordcamp 2010 Themes for Beginners

About this Talk:High Level OverviewNot a code reviewWalk away with an understanding ofWhere to find themesPaid vs. FreeParent / Child ThemesTheme FrameworksTheme Structure

Page 4: Wordcamp 2010 Themes for Beginners

What is a theme?

It’s a way to your skin your siteHow your site looksHow your site worksKeeps the functionality separate from the core wordpress files

Page 5: Wordcamp 2010 Themes for Beginners

3 Ways to Install a Theme

1 - Search and Install from the admin panel2 - Upload a zip file from your computer, let wordpress decompress, and install3 - FTP your theme to wp-content/themes

Page 6: Wordcamp 2010 Themes for Beginners

How to choose a themePlan your site layout before choosing

Not choose the theme, and follow thatThink about what functionality you will needHave your site content planned

Will you be using pages or postsCategories or tagssocial media integration

Page 7: Wordcamp 2010 Themes for Beginners
Page 8: Wordcamp 2010 Themes for Beginners

PAGES

CATEGORIES

JQUERY SLIDERWITH CUSTOM HTML

RECENTPOSTS

SOCIAL MEDIA

FEATURED

CONTENTAREA

PHOTO FEED

Page 9: Wordcamp 2010 Themes for Beginners

Where to get themesThe WordPress Repository (Free)Smashing Magazine (free, updated annually)Woo Themes : High QualityPaid Themes:

Woo ThemesTheme ForestMany more....

Page 10: Wordcamp 2010 Themes for Beginners

Parent / Child ThemesA child theme inherits the functionality of the parent themeYou can create a child of any themeUpgrade the parent theme without losing your changesLive DemoChild Theme Basics

Page 11: Wordcamp 2010 Themes for Beginners

Setting up a child theme(in 4 easy steps)Create a new folder, and add a style.css fileModify the child theme’s style.css headerImport & override parent stylesOptional step: Override parent theme templates

Page 12: Wordcamp 2010 Themes for Beginners

Theme FrameworksWhat is a framework?Gives you a starting point - styles and layout that are common to all themes are already set up3 free frameworks: Hybrid, Thematic & SandboxAdvantages: Large community, widely used, openPaid frameworks: Thesis & Genesis

Page 13: Wordcamp 2010 Themes for Beginners

Template FilesTemplate files are the building blocks of your WordPress site. They fit together like the pieces of a puzzle to generate the web pages on your site. Some templates (the header and footer template files for example) are used on all the web pages, while others are used only under specific conditions.

Header Header <?php get_header(); ?> this is a template tag

Footer Footer <?php get_footer(); ?>

ContentContent““The Loop”The Loop”

SidebarSidebar <?php get_sidebar(); ?>

Page 14: Wordcamp 2010 Themes for Beginners

REPRODUCED (WITH PERMISSION) FROM “Dig into Wordpress” BY CHRIS COYIER AND JEFF STARR

Page 15: Wordcamp 2010 Themes for Beginners

Theme Files

REPRODUCED (WITH PERMISSION) FROM “Dig into Wordpress” BY CHRIS COYIER AND JEFF STARR

Page 16: Wordcamp 2010 Themes for Beginners

The LoopThe Loop is used by WordPress to display each of your posts. Using The Loop, WordPress processes each of the posts to be displayed on the current page and formats them according to how they match specified criteria within The Loop tags. Any HTML or PHP code placed in the Loop will be repeated on each post. When WordPress documentation states "This tag must be within The Loop", such as for specific Template Tag or plugins, the tag will be repeated for each post.

<?php// The Loopif (have_posts()) : while (have_posts()) : the_post();?>

http://codex.wordpress.org/The_Loop


Recommended