SlideShare a Scribd company logo
1 of 15
Download to read offline
MAKE WORDPRESS THEMES
                         a how-to guide on tools and tricks

                                TampaBayWP.com




Thursday, March 14, 13
Alison Foxall

                • IADT Alumni

                • Designer and Partner at Gobble Logic

                • Working with WordPress for last 7 years

                • Aspiring Vegan




Thursday, March 14, 13
Assumed Knowledge


                  Knowledge of Photoshop or other image editing tool

                  How to install a WordPress website and administer it (add pages,
                  posts, etc)

                  Knowledge of HTML, CSS, and general best practices of front-
                  end web development



Thursday, March 14, 13
Understanding Templates
                                     header.php   index.php     footer.php




                                                              Fun Page The User Sees


                  A page in WordPress is actually several pages in your theme
                  directory working together to display one single page to you.

                  That page will consist of a header and footer file, along with a file
                  that will query the database for content such as a static page, a list
                  of posts, or just one post.


Thursday, March 14, 13
Theme Directory & Files

                  Themes are located in ...wp-content/themes/

                  Every theme needs an index.php and style.css
                  file

                  Theme files have specific names that
                  WordPress looks for (e.g. page.php)




Thursday, March 14, 13
Template Hierarchy
                  Page (a page you made in the WordPress
                  dashboard)

                         1.   custom_template.php
                         2.   page-{slug}.php
                         3.   page-{id}.php
                         4.   page.php
                         5.   index.php


         http://codex.wordpress.org/Template_Hierarchy


Thursday, March 14, 13
http://digwp.com/2010/09/wordpress-3-template-hierarchy/



Thursday, March 14, 13
These files all have a purpose
                         and will be called up for their
                         purpose as long as they are
                         named correctly and they match
                         up to your database!




Thursday, March 14, 13
Template Tags
                  Make our designer life so much easier

                  We can output data without too much programming

                  We can even make custom fields in the dashboard to hold custom
                  data in

                THIS OUTPUTS THE CONTENT OF A POST




                                                            http://codex.wordpress.org/Template_Tags




Thursday, March 14, 13
The Loop
                  A lot of template tags are required to work in what is called “The
                  Loop”




Thursday, March 14, 13
Template Tags


                                  ;




Thursday, March 14, 13
General Process of Build

                  Plan out design (what areas are static, content, or dynamic?)

                  Identify pages that will be different and will require different
                  wrappers, classes and styles (home, single post, page?)

                  Write your CSS or SCSS as you would normally in your style file
                  of your theme.

                  Use a skeleton theme so you have some structure of WordPress.
                  Change the HTML to fit your needs, and write your CSS


Thursday, March 14, 13
Thursday, March 14, 13
DEMO
                         down the rabbit hole




Thursday, March 14, 13
THANK YOU!
                          alisonfoxall.com // @alisonmf




Thursday, March 14, 13

More Related Content

Similar to Make WordPress Themes

Intro to template hierarchy WCTO
Intro to template hierarchy  WCTOIntro to template hierarchy  WCTO
Intro to template hierarchy WCTO
Al Davis
 
Part1 learn thelingo
Part1 learn thelingoPart1 learn thelingo
Part1 learn thelingo
Taneya Koonce
 
Wordpress bb-portland
Wordpress bb-portlandWordpress bb-portland
Wordpress bb-portland
AllenSnook
 
WordPress Child Themes
WordPress Child ThemesWordPress Child Themes
WordPress Child Themes
rfair404
 
Wordcamp 2010 Themes for Beginners
Wordcamp 2010 Themes for BeginnersWordcamp 2010 Themes for Beginners
Wordcamp 2010 Themes for Beginners
Bonnie Vasko
 
Wordcamp 2010 Themes for Beginners
Wordcamp 2010 Themes for BeginnersWordcamp 2010 Themes for Beginners
Wordcamp 2010 Themes for Beginners
Bonnie Vasko
 
All about word press
All about word pressAll about word press
All about word press
Dan Beil
 
Creating Drupal A Module
Creating Drupal A ModuleCreating Drupal A Module
Creating Drupal A Module
arcaneadam
 

Similar to Make WordPress Themes (20)

Omega From Download to Layout in 45 min
Omega From Download to Layout in 45 min Omega From Download to Layout in 45 min
Omega From Download to Layout in 45 min
 
Intro to template hierarchy WCTO
Intro to template hierarchy  WCTOIntro to template hierarchy  WCTO
Intro to template hierarchy WCTO
 
Part1 learn thelingo
Part1 learn thelingoPart1 learn thelingo
Part1 learn thelingo
 
Wordpress bb-portland
Wordpress bb-portlandWordpress bb-portland
Wordpress bb-portland
 
Introducing MongoPress
Introducing MongoPressIntroducing MongoPress
Introducing MongoPress
 
WordPress for Beginner
WordPress for BeginnerWordPress for Beginner
WordPress for Beginner
 
WordPress 2.5 Overview - Rich Media Institute
WordPress 2.5 Overview - Rich Media InstituteWordPress 2.5 Overview - Rich Media Institute
WordPress 2.5 Overview - Rich Media Institute
 
Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08
 
WordPress Child Themes
WordPress Child ThemesWordPress Child Themes
WordPress Child Themes
 
Wordcamp 2010
Wordcamp 2010Wordcamp 2010
Wordcamp 2010
 
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
 
WordPress SEO - The Absolute Basics
WordPress SEO - The Absolute BasicsWordPress SEO - The Absolute Basics
WordPress SEO - The Absolute Basics
 
March 2018 WordPress Davao Meetup
March 2018 WordPress Davao MeetupMarch 2018 WordPress Davao Meetup
March 2018 WordPress Davao Meetup
 
Wordcamp 2010 Themes for Beginners
Wordcamp 2010 Themes for BeginnersWordcamp 2010 Themes for Beginners
Wordcamp 2010 Themes for Beginners
 
Wordcamp 2010 Themes for Beginners
Wordcamp 2010 Themes for BeginnersWordcamp 2010 Themes for Beginners
Wordcamp 2010 Themes for Beginners
 
Wordcamp 2010 Themes for Beginners
Wordcamp 2010 Themes for BeginnersWordcamp 2010 Themes for Beginners
Wordcamp 2010 Themes for Beginners
 
All about word press
All about word pressAll about word press
All about word press
 
WordCamp Miami 09 - WP Framework
WordCamp Miami 09 - WP FrameworkWordCamp Miami 09 - WP Framework
WordCamp Miami 09 - WP Framework
 
Drupal for Libraries 05/28/09
Drupal for Libraries 05/28/09Drupal for Libraries 05/28/09
Drupal for Libraries 05/28/09
 
Creating Drupal A Module
Creating Drupal A ModuleCreating Drupal A Module
Creating Drupal A Module
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Make WordPress Themes

  • 1. MAKE WORDPRESS THEMES a how-to guide on tools and tricks TampaBayWP.com Thursday, March 14, 13
  • 2. Alison Foxall • IADT Alumni • Designer and Partner at Gobble Logic • Working with WordPress for last 7 years • Aspiring Vegan Thursday, March 14, 13
  • 3. Assumed Knowledge Knowledge of Photoshop or other image editing tool How to install a WordPress website and administer it (add pages, posts, etc) Knowledge of HTML, CSS, and general best practices of front- end web development Thursday, March 14, 13
  • 4. Understanding Templates header.php index.php footer.php Fun Page The User Sees A page in WordPress is actually several pages in your theme directory working together to display one single page to you. That page will consist of a header and footer file, along with a file that will query the database for content such as a static page, a list of posts, or just one post. Thursday, March 14, 13
  • 5. Theme Directory & Files Themes are located in ...wp-content/themes/ Every theme needs an index.php and style.css file Theme files have specific names that WordPress looks for (e.g. page.php) Thursday, March 14, 13
  • 6. Template Hierarchy Page (a page you made in the WordPress dashboard) 1. custom_template.php 2. page-{slug}.php 3. page-{id}.php 4. page.php 5. index.php http://codex.wordpress.org/Template_Hierarchy Thursday, March 14, 13
  • 8. These files all have a purpose and will be called up for their purpose as long as they are named correctly and they match up to your database! Thursday, March 14, 13
  • 9. Template Tags Make our designer life so much easier We can output data without too much programming We can even make custom fields in the dashboard to hold custom data in THIS OUTPUTS THE CONTENT OF A POST http://codex.wordpress.org/Template_Tags Thursday, March 14, 13
  • 10. The Loop A lot of template tags are required to work in what is called “The Loop” Thursday, March 14, 13
  • 11. Template Tags ; Thursday, March 14, 13
  • 12. General Process of Build Plan out design (what areas are static, content, or dynamic?) Identify pages that will be different and will require different wrappers, classes and styles (home, single post, page?) Write your CSS or SCSS as you would normally in your style file of your theme. Use a skeleton theme so you have some structure of WordPress. Change the HTML to fit your needs, and write your CSS Thursday, March 14, 13
  • 14. DEMO down the rabbit hole Thursday, March 14, 13
  • 15. THANK YOU! alisonfoxall.com // @alisonmf Thursday, March 14, 13