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

Recently uploaded (20)

FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
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
 
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
 
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
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
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
 
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
 
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
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 

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