SlideShare una empresa de Scribd logo
1 de 9
Basic WordPress Development
Diving Into Editing Your Theme
Tools
• Local Server – WAMP
  http://www.wampserver.com/en/
• Remote Server – Filezilla
  http://filezilla-project.org/
• WordPress - http://wordpress.org/
• File Editor – Notepad ++
  http://notepad-plus-plus.org/
• Chrome Debugger or Firebug for Firefox
  http://getfirebug.com/
Core Theme Files
• style.css – Only required theme file. Controls design
  of site
• If used in child theme, style.css can overwrite parent
  style or @import
• functions.php – Allows inclusion of PHP to control
  WordPress functions
• Child theme functions.php is appended to parent
  functions.php file
Additional Files
• index.php – First file loaded in hierarchy. Controls
  front page if home.php is not specified
• home.php – Not in all themes. Custom home style to
  include widgets/CPTs/media blocks/etc
• header.php – Opening of site down to beginning of
  page layout. Controls style and script loading and
  meta information
• footer.php – Closes site after layout. Additional
  scripts loaded here
Additional Files
• 404.php – Displayed on non-existent pages (not on
  “no content found” pages
• archive.php – Displays posts based on date
• author.php – Displays author archive pages
• category.php – Displays posts of a specified category
• comments.php – Formats and displays comments
Additional Files (cont.)
•   page.php – Used to display standard pages
•   search.php – Default page for search results
•   sidebar.php – Controls default sidebar inclusion
•   single.php – Used to display single post
•   tag.php – Sorts posts based on specified tag
Getting Started
• Use a starter theme to save development time -
  http://underscores.me/
• Create a child of a framework -
  http://www.studiopress.com/
  http://www.woothemes.com/
• Create a child of a theme similar to what you want
• Final approach is less custom but comes with greatly
  reduced development time
Getting Started (cont.)
• Start with a plan. Determine page structure and
  relevant information
• Select the base theme that works for this case
• Start with sample content if you don’t have client
  content. This lets you see the theme in action -
  http://codex.wordpress.org/Theme_Unit_Test
• Activate plugins/widgets that will be used AND affect
  layout of site (no caching or SEO plugins yet)
Changing Element Style
• Use Chrome Debugger or Firebug to locate HTML
  elements that you want to change
• Begin with magnifier and use file structure if needed
• Force hover or active state with Chrome Debugger
• Pay attention to cascading style hierarchy (most to
  least important)
• Make edits in browser and copy to stylesheet

Más contenido relacionado

La actualidad más candente

Anatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeAnatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress Theme
Julie Kuehl
 
WordPress as a CMS - Case Study of an Organizational Intranet
WordPress as a CMS - Case Study of an Organizational IntranetWordPress as a CMS - Case Study of an Organizational Intranet
WordPress as a CMS - Case Study of an Organizational Intranet
Tech Liminal
 
WebBiblio Subject Gateway System
WebBiblio Subject Gateway SystemWebBiblio Subject Gateway System
WebBiblio Subject Gateway System
Jack Eapen
 
Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibility
hernanibf
 
Extension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with JoomlaExtension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with Joomla
Tim Plummer
 
Vinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress siteVinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress site
wpnepal
 

La actualidad más candente (20)

WordPress Template Hierarchy
WordPress Template HierarchyWordPress Template Hierarchy
WordPress Template Hierarchy
 
Anatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeAnatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress Theme
 
Custom Menu Support for WordPress Themes
Custom Menu Support for WordPress ThemesCustom Menu Support for WordPress Themes
Custom Menu Support for WordPress Themes
 
My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013
 
Scaling Drupal @ iMoney - DrupalCamp Singapore 2014
Scaling Drupal @ iMoney - DrupalCamp Singapore 2014Scaling Drupal @ iMoney - DrupalCamp Singapore 2014
Scaling Drupal @ iMoney - DrupalCamp Singapore 2014
 
WCBos13 intermediate workshop
WCBos13 intermediate workshopWCBos13 intermediate workshop
WCBos13 intermediate workshop
 
WordPress as a CMS - Case Study of an Organizational Intranet
WordPress as a CMS - Case Study of an Organizational IntranetWordPress as a CMS - Case Study of an Organizational Intranet
WordPress as a CMS - Case Study of an Organizational Intranet
 
WordPress Themes and Plugins
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Plugins
 
WebBiblio Subject Gateway System
WebBiblio Subject Gateway SystemWebBiblio Subject Gateway System
WebBiblio Subject Gateway System
 
Themes 101
Themes 101Themes 101
Themes 101
 
Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014
 
EPUB for Website Producers
EPUB for Website ProducersEPUB for Website Producers
EPUB for Website Producers
 
Advanced Wordpress
Advanced WordpressAdvanced Wordpress
Advanced Wordpress
 
Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibility
 
Intro to HTML
Intro to HTMLIntro to HTML
Intro to HTML
 
Tridion Content Broker - how and why we are using it at the RSPB (2007)
Tridion Content Broker - how and why we are using it at the RSPB (2007)Tridion Content Broker - how and why we are using it at the RSPB (2007)
Tridion Content Broker - how and why we are using it at the RSPB (2007)
 
Extension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with JoomlaExtension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with Joomla
 
Using JavaScript Libraries like D3.js with WordPress
Using JavaScript Libraries like D3.js with WordPressUsing JavaScript Libraries like D3.js with WordPress
Using JavaScript Libraries like D3.js with WordPress
 
Vinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress siteVinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress site
 
Joomla! multiplied - How to run Multi-Sites - JandBeyond 2014
Joomla! multiplied - How to run Multi-Sites - JandBeyond 2014Joomla! multiplied - How to run Multi-Sites - JandBeyond 2014
Joomla! multiplied - How to run Multi-Sites - JandBeyond 2014
 

Destacado

Syrafasta kilslidsventiler
Syrafasta kilslidsventilerSyrafasta kilslidsventiler
Syrafasta kilslidsventiler
EFvalves
 
C40 발표원고 seoul fuel cells
C40 발표원고 seoul fuel cellsC40 발표원고 seoul fuel cells
C40 발표원고 seoul fuel cells
simrc
 
Perfume ads, mood bord
Perfume ads, mood bordPerfume ads, mood bord
Perfume ads, mood bord
emselim
 
презентация3
презентация3презентация3
презентация3
semyurihor
 
Working with others ith
Working with others ithWorking with others ith
Working with others ith
hannnnahgrant
 
COMPORTAMIENTOS DIGITALES
COMPORTAMIENTOS DIGITALES COMPORTAMIENTOS DIGITALES
COMPORTAMIENTOS DIGITALES
lindaduitama
 

Destacado (20)

What Type of Treatment Do You Need?
What Type of Treatment Do You Need?What Type of Treatment Do You Need?
What Type of Treatment Do You Need?
 
El agua
El aguaEl agua
El agua
 
Syrafasta kilslidsventiler
Syrafasta kilslidsventilerSyrafasta kilslidsventiler
Syrafasta kilslidsventiler
 
C40 발표원고 seoul fuel cells
C40 발표원고 seoul fuel cellsC40 발표원고 seoul fuel cells
C40 발표원고 seoul fuel cells
 
Perfume ads, mood bord
Perfume ads, mood bordPerfume ads, mood bord
Perfume ads, mood bord
 
Web and eMarketing Presentation - DMAW Association Day 2009
Web and eMarketing Presentation - DMAW Association Day 2009Web and eMarketing Presentation - DMAW Association Day 2009
Web and eMarketing Presentation - DMAW Association Day 2009
 
презентация3
презентация3презентация3
презентация3
 
Working with others ith
Working with others ithWorking with others ith
Working with others ith
 
ASU SBTDC Presentation at 2014 Lenders Meeting
ASU SBTDC Presentation at 2014 Lenders MeetingASU SBTDC Presentation at 2014 Lenders Meeting
ASU SBTDC Presentation at 2014 Lenders Meeting
 
Proceso de investigacion_de_mercado
Proceso de investigacion_de_mercadoProceso de investigacion_de_mercado
Proceso de investigacion_de_mercado
 
Uepc
UepcUepc
Uepc
 
LetUWin CDC
LetUWin CDCLetUWin CDC
LetUWin CDC
 
Geekaboo presentation 2013 - Brett Napoli
Geekaboo presentation 2013 - Brett NapoliGeekaboo presentation 2013 - Brett Napoli
Geekaboo presentation 2013 - Brett Napoli
 
COMPORTAMIENTOS DIGITALES
COMPORTAMIENTOS DIGITALES COMPORTAMIENTOS DIGITALES
COMPORTAMIENTOS DIGITALES
 
民族特性与民族卫生Ppt
民族特性与民族卫生Ppt民族特性与民族卫生Ppt
民族特性与民族卫生Ppt
 
php[world] Hooks, Actions and Filters Oh My!
php[world] Hooks, Actions and Filters Oh My!php[world] Hooks, Actions and Filters Oh My!
php[world] Hooks, Actions and Filters Oh My!
 
DIG1108C Lesson3 Fall 2014
DIG1108C Lesson3 Fall 2014DIG1108C Lesson3 Fall 2014
DIG1108C Lesson3 Fall 2014
 
Steam Press
Steam PressSteam Press
Steam Press
 
Organization methods in word press
Organization methods in word pressOrganization methods in word press
Organization methods in word press
 
La escuela moderna - Ferrer i Guardia
La escuela moderna - Ferrer i GuardiaLa escuela moderna - Ferrer i Guardia
La escuela moderna - Ferrer i Guardia
 

Similar a Basic word press development

Word press bootcamp By Sourcescript Innovations and Mentors Dojo
Word press bootcamp  By Sourcescript Innovations and Mentors DojoWord press bootcamp  By Sourcescript Innovations and Mentors Dojo
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
lightshire
 
WCLV - Introduction to child themes
WCLV - Introduction to child themesWCLV - Introduction to child themes
WCLV - Introduction to child themes
vegasgeek
 
American University WordPress Theming Lecture
American University WordPress Theming LectureAmerican University WordPress Theming Lecture
American University WordPress Theming Lecture
Aaron Brazell
 
Wordpress website development
Wordpress website developmentWordpress website development
Wordpress website development
John Faust
 

Similar a Basic word press development (20)

WordPress Template hierarchy
WordPress Template hierarchyWordPress Template hierarchy
WordPress Template hierarchy
 
Responsive themeworkshop wcneo2016
Responsive themeworkshop wcneo2016Responsive themeworkshop wcneo2016
Responsive themeworkshop wcneo2016
 
Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme development
 
Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25
 
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
Word press bootcamp  By Sourcescript Innovations and Mentors DojoWord press bootcamp  By Sourcescript Innovations and Mentors Dojo
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
 
WCLV - Introduction to child themes
WCLV - Introduction to child themesWCLV - Introduction to child themes
WCLV - Introduction to child themes
 
Writing a WordPress Theme - HighEdWeb 2013 #WRK2
Writing a WordPress Theme - HighEdWeb 2013 #WRK2Writing a WordPress Theme - HighEdWeb 2013 #WRK2
Writing a WordPress Theme - HighEdWeb 2013 #WRK2
 
Keeping Your Themes and Plugins Organized.
Keeping Your Themes and Plugins Organized.Keeping Your Themes and Plugins Organized.
Keeping Your Themes and Plugins Organized.
 
WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?
 
Starting WordPress Theme Review
Starting WordPress Theme ReviewStarting WordPress Theme Review
Starting WordPress Theme Review
 
Design todevelop
Design todevelopDesign todevelop
Design todevelop
 
American University WordPress Theming Lecture
American University WordPress Theming LectureAmerican University WordPress Theming Lecture
American University WordPress Theming Lecture
 
Building the next generation of themes with WP Rig 2.0
Building the next generation of themes with WP Rig 2.0Building the next generation of themes with WP Rig 2.0
Building the next generation of themes with WP Rig 2.0
 
Wordpress template hierarchy
Wordpress template hierarchyWordpress template hierarchy
Wordpress template hierarchy
 
WordPress Theme Development by Sharif Mohammad Eunus
WordPress Theme Development by Sharif Mohammad EunusWordPress Theme Development by Sharif Mohammad Eunus
WordPress Theme Development by Sharif Mohammad Eunus
 
Anatomy of a Wordpress theme
Anatomy of a Wordpress themeAnatomy of a Wordpress theme
Anatomy of a Wordpress theme
 
Wordpress overview
Wordpress overviewWordpress overview
Wordpress overview
 
Wordpress website development
Wordpress website developmentWordpress website development
Wordpress website development
 
WordPress Themes 101 - PSUWeb13 Workshop
WordPress Themes 101 - PSUWeb13 WorkshopWordPress Themes 101 - PSUWeb13 Workshop
WordPress Themes 101 - PSUWeb13 Workshop
 

Más de David Wolfpaw

DIG1108C Lesson 2 Fall 2014
DIG1108C Lesson 2 Fall 2014DIG1108C Lesson 2 Fall 2014
DIG1108C Lesson 2 Fall 2014
David Wolfpaw
 

Más de David Wolfpaw (14)

Running Your Service Business on WordPress
Running Your Service Business on WordPressRunning Your Service Business on WordPress
Running Your Service Business on WordPress
 
Stop the Green Light Panic - Lisa Melegari
Stop the Green Light Panic - Lisa MelegariStop the Green Light Panic - Lisa Melegari
Stop the Green Light Panic - Lisa Melegari
 
Hooks, Actions, and Filters Oh My!
Hooks, Actions, and Filters Oh My!Hooks, Actions, and Filters Oh My!
Hooks, Actions, and Filters Oh My!
 
DIG1108C Lesson 7 Fall 2014
DIG1108C Lesson 7 Fall 2014DIG1108C Lesson 7 Fall 2014
DIG1108C Lesson 7 Fall 2014
 
DIG1108C Lesson 6 - Fall 2014
DIG1108C Lesson 6 - Fall 2014DIG1108C Lesson 6 - Fall 2014
DIG1108C Lesson 6 - Fall 2014
 
WordPress as a Minimum Viable Product - WordCamp Tampa 2014
WordPress as a Minimum Viable Product - WordCamp Tampa 2014WordPress as a Minimum Viable Product - WordCamp Tampa 2014
WordPress as a Minimum Viable Product - WordCamp Tampa 2014
 
DIG1108C Lesson 5 Fall 2014
DIG1108C Lesson 5 Fall 2014DIG1108C Lesson 5 Fall 2014
DIG1108C Lesson 5 Fall 2014
 
DIG1108C Lesson 4 Fall 2014
DIG1108C Lesson 4 Fall 2014DIG1108C Lesson 4 Fall 2014
DIG1108C Lesson 4 Fall 2014
 
DIG1108C Lesson 2 Fall 2014
DIG1108C Lesson 2 Fall 2014DIG1108C Lesson 2 Fall 2014
DIG1108C Lesson 2 Fall 2014
 
Dig1108C Lesson 1 Fall 2014
Dig1108C Lesson 1 Fall 2014Dig1108C Lesson 1 Fall 2014
Dig1108C Lesson 1 Fall 2014
 
Spring Cleaning on Your Site
Spring Cleaning on Your SiteSpring Cleaning on Your Site
Spring Cleaning on Your Site
 
Becoming a Respected WordPress Developer
Becoming a Respected WordPress DeveloperBecoming a Respected WordPress Developer
Becoming a Respected WordPress Developer
 
Beginner Workshop WCMIA
Beginner Workshop WCMIABeginner Workshop WCMIA
Beginner Workshop WCMIA
 
WordPress tools and plugins
WordPress tools and pluginsWordPress tools and plugins
WordPress tools and plugins
 

Basic word press development

  • 1. Basic WordPress Development Diving Into Editing Your Theme
  • 2. Tools • Local Server – WAMP http://www.wampserver.com/en/ • Remote Server – Filezilla http://filezilla-project.org/ • WordPress - http://wordpress.org/ • File Editor – Notepad ++ http://notepad-plus-plus.org/ • Chrome Debugger or Firebug for Firefox http://getfirebug.com/
  • 3. Core Theme Files • style.css – Only required theme file. Controls design of site • If used in child theme, style.css can overwrite parent style or @import • functions.php – Allows inclusion of PHP to control WordPress functions • Child theme functions.php is appended to parent functions.php file
  • 4. Additional Files • index.php – First file loaded in hierarchy. Controls front page if home.php is not specified • home.php – Not in all themes. Custom home style to include widgets/CPTs/media blocks/etc • header.php – Opening of site down to beginning of page layout. Controls style and script loading and meta information • footer.php – Closes site after layout. Additional scripts loaded here
  • 5. Additional Files • 404.php – Displayed on non-existent pages (not on “no content found” pages • archive.php – Displays posts based on date • author.php – Displays author archive pages • category.php – Displays posts of a specified category • comments.php – Formats and displays comments
  • 6. Additional Files (cont.) • page.php – Used to display standard pages • search.php – Default page for search results • sidebar.php – Controls default sidebar inclusion • single.php – Used to display single post • tag.php – Sorts posts based on specified tag
  • 7. Getting Started • Use a starter theme to save development time - http://underscores.me/ • Create a child of a framework - http://www.studiopress.com/ http://www.woothemes.com/ • Create a child of a theme similar to what you want • Final approach is less custom but comes with greatly reduced development time
  • 8. Getting Started (cont.) • Start with a plan. Determine page structure and relevant information • Select the base theme that works for this case • Start with sample content if you don’t have client content. This lets you see the theme in action - http://codex.wordpress.org/Theme_Unit_Test • Activate plugins/widgets that will be used AND affect layout of site (no caching or SEO plugins yet)
  • 9. Changing Element Style • Use Chrome Debugger or Firebug to locate HTML elements that you want to change • Begin with magnifier and use file structure if needed • Force hover or active state with Chrome Debugger • Pay attention to cascading style hierarchy (most to least important) • Make edits in browser and copy to stylesheet