SlideShare uma empresa Scribd logo
1 de 15
Baixar para ler 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

Mais conteúdo relacionado

Semelhante a 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
 

Semelhante a 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
 

Último

Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 

Último (20)

Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 

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