SlideShare a Scribd company logo
1 of 47
Download to read offline
Templates
• WordPress uses only a few
basic templates
• This means less places to make
changes that affect the whole site
• A handful of simple changes can
make a big difference
Meet the templates
header.php
index.php
sidebar.php
footer.php
archive.php
single.php
comments.php
page.php
search.php
404.php
Themes mainly powered by
• style.css
• functions.php
PSA: Our friend the style sheet
• Cascading style sheets (CSS)
are not to be feared
• Simple, text-based instructions
in a specific format
• Follow the format and make
your dreams come true
Typical CSS format
#site-title {
float: left;
font-size: 30px;
color: #515151;
font-weight: bold;
line-height: 36px;
margin: 0 0 18px 0;
width: 700px;
}
Small Changes/Big Impact
1. Header and footer
2. Background
3. Color scheme
4. Fonts
5. Plugin styles
Start with the low-hanging fruit
1. Header
• Change/remove title, description
• Add/change header image
Footer
• add navigation/links
• Add/change background
2. Background
• Change/add page background image
body {background-color:#b0c4de;}
• Change/add page background color
body {background-image:url('bgdesert.jpg');}
Mystique example - before
Mystique example - after
Mystique example - changes
3. Color Scheme
• Determine element colors and
chance in the style sheet
• ColorZilla Plugin (FireFox) can help
http://www.colorzilla.com/firefox/
4. Fonts
Basic HTML font styles are easy to
control via style sheet
p, H1, H2, H3...
p {
font-family:"Lucida Grande", "Lucida Sans
Unicode", "Lucida Sans", Verdana, Tahoma,
sans-serif;
font-size:1em;
color:#000;
}
Web fonts/@fontface
Allows you to use virtually any font as
a true text element. No longer limited
by traditional browser-safe fonts
(Arial, Verdana, Times, etc.)
http://kernest.com/ http://typekit.com/
Web fonts/@fontface
http://code.google.com/webfonts
Typical @fontface CSS code
@font-face {
font-family: 'Colaborate';
src: url('http://kernest.com/embed/colaborate-regular'),
url('http://kernest.com/embed/colaborate- regular#colabreg')
format('svg');
}
#content h1 {
color: #000;
font-family: 'Colaborate', Geneva, 'Lucida Sans', 'Lucida
Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
font-size:32px;
}
5. Plugin style hacks
• Don’t be afraid to dig into
plugin stylesheets to make
further customizations
General CSS tweak tips
• Use Web Developer Toolbar (FireFox)
or similar CSS identification tool
• Select the element you want to change
• Find that style in the CSS and change it
• Go slow and only change what you
understand
• Save and preview often
Functionality upgrades
1. Custom pages
2. Modifying the Loop
3. Adding sidebars
Going beyond the basics
1. Custom pages
• Provides flexibility to change layout
based on needs
<?php
/*
Template Name: Calendar
*/
?>
2. Modifying the Loop
• Change way posts appear
on blog homepage
index.php, The loop starts here:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
and ends here:
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
3. Adding sidebars
• Why? Added functionality
• How?
1. functions.php
<?php if ( function_exists ('register_sidebar'))
{ register_sidebar ('custom');
} ?>
2. Copy sidebar.php (sidebar2.php)
3. Call where needed
<?php include ('sidebar-cat.php'); ?>
3. Adding sidebars
• Why? Added functionality
1. functions.php
<?php if ( function_exists ('register_sidebar'))
{ register_sidebar ('custom');
} ?>
2. Copy sidebar.php (sidebar2.php)
3. Call where needed
<?php include ('sidebar-cat.php'); ?>
Additional sidebar examples
Additional sidebar examples
Customization tips
• Make changes in stages, easier
to go back/troubleshoot
• Keep a unaltered copy of the
theme handy, just in case
• No matter how much you
customize always credit the
original theme designer
Flexible free themes
• TwentyTen
http://wordpress.org/extend/themes/twentyten
• Mystique
http://wordpress.org/extend/themes/mystique
• Magazine Basic
http://wordpress.org/extend/themes/magazine-basic
Pro (paid) themes
• Thesis
http://diythemes.com
• Headway
http://headwaythemes.com
• Genesis Framework
http://www.studiopress.com/themes/genesis
Thesis site options
Headway configuration
Headway visual editor
Make your own theme
• Use a blank theme or framework*
• Start from scratch :(
*Do this
Blank themes
• Thematic
http://themeshaper.com/thematic/
• WP Framework
http://wpframework.com
• BLANK WordPress Theme
http://digwp.com/2010/02/blank-wordpress-theme/
http://digwp.com/2009/07/free-html-5-wordpress-theme/ (HTML 5 version)
• Simon WordPress Blank Theme
http://simonwebdesign.com/simon-wordpress-framework-blank-theme/
• Whiteboard – A Lightweight WordPress Framework
http://whiteboardframework.com/
Blank themes
Built on WP Framework
Built on WP Framework
DIY theme resources
• WordPress Codex: Theme Development
http://codex.wordpress.org/Theme_Development
• How to Build a Custom WordPress
Theme from Scratch
http://www.blog.spoongraphics.co.uk/
tutorials/how-to-build-a-custom-wordpress-
theme-from-scratch
Mykl Roventine
designer of things
myklroventine.com
@myklroventine
Thank
you!

More Related Content

What's hot

Developing branding solutions
Developing branding solutionsDeveloping branding solutions
Developing branding solutions
Thomas Daly
 
Week3 office hours
Week3 office hoursWeek3 office hours
Week3 office hours
Randall Rode
 
Taking themes to the next level
Taking themes to the next levelTaking themes to the next level
Taking themes to the next level
dominion
 

What's hot (20)

Windows Server 2012 Developer Preview Server Core Active Directory
Windows Server 2012 Developer Preview Server Core Active DirectoryWindows Server 2012 Developer Preview Server Core Active Directory
Windows Server 2012 Developer Preview Server Core Active Directory
 
Developing branding solutions
Developing branding solutionsDeveloping branding solutions
Developing branding solutions
 
Week3 office hours
Week3 office hoursWeek3 office hours
Week3 office hours
 
nicoleregowebsite
nicoleregowebsitenicoleregowebsite
nicoleregowebsite
 
The Future is Modular, Jonathan Snook
The Future is Modular, Jonathan SnookThe Future is Modular, Jonathan Snook
The Future is Modular, Jonathan Snook
 
Taking themes to the next level
Taking themes to the next levelTaking themes to the next level
Taking themes to the next level
 
Session iv(master pages)
Session iv(master pages)Session iv(master pages)
Session iv(master pages)
 
Creating Web Templates for SharePoint 2010
Creating Web Templates for SharePoint 2010Creating Web Templates for SharePoint 2010
Creating Web Templates for SharePoint 2010
 
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon DublinCreating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
 
SEO In Joomla - Patrick Jackson (JoomlaDay Melbourne & Sydney 2010)
SEO In Joomla - Patrick Jackson (JoomlaDay Melbourne & Sydney 2010)SEO In Joomla - Patrick Jackson (JoomlaDay Melbourne & Sydney 2010)
SEO In Joomla - Patrick Jackson (JoomlaDay Melbourne & Sydney 2010)
 
Drag-and-drop WordPress Themes, featuring Themify Builder
Drag-and-drop WordPress Themes, featuring Themify BuilderDrag-and-drop WordPress Themes, featuring Themify Builder
Drag-and-drop WordPress Themes, featuring Themify Builder
 
Customize it.
Customize it.Customize it.
Customize it.
 
Dps
DpsDps
Dps
 
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon BaltimoreCreating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
 
Create SASSY Web Parts - SPSMilan
Create SASSY Web Parts - SPSMilan Create SASSY Web Parts - SPSMilan
Create SASSY Web Parts - SPSMilan
 
Introduction to the Drupal - Web Experience Toolkit
Introduction to the Drupal - Web Experience ToolkitIntroduction to the Drupal - Web Experience Toolkit
Introduction to the Drupal - Web Experience Toolkit
 
How to ensure a long life span for a website (WPHelsinki 2.11.2016)
How to ensure a long life span for a website (WPHelsinki 2.11.2016)How to ensure a long life span for a website (WPHelsinki 2.11.2016)
How to ensure a long life span for a website (WPHelsinki 2.11.2016)
 
LESS CSS
LESS CSSLESS CSS
LESS CSS
 
Magehack_Autogrid presentation
Magehack_Autogrid presentationMagehack_Autogrid presentation
Magehack_Autogrid presentation
 
SXA in action
SXA in actionSXA in action
SXA in action
 

Viewers also liked

Creating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login SystemCreating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login System
Azharul Haque Shohan
 
Problem definition /identification in Research
Problem definition /identification in ResearchProblem definition /identification in Research
Problem definition /identification in Research
Shameem Ali
 
Step by step how to create database with phpmyadmin
Step by step how to create database with phpmyadminStep by step how to create database with phpmyadmin
Step by step how to create database with phpmyadmin
Fathimah Azkiya
 

Viewers also liked (9)

Creating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login SystemCreating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login System
 
A Software Architect's View On Diagramming
A Software Architect's View On DiagrammingA Software Architect's View On Diagramming
A Software Architect's View On Diagramming
 
Problem definition /identification in Research
Problem definition /identification in ResearchProblem definition /identification in Research
Problem definition /identification in Research
 
Keynesian Model Income Determination
Keynesian Model  Income DeterminationKeynesian Model  Income Determination
Keynesian Model Income Determination
 
The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)
The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)
The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)
 
The Non-designer's Guide to WordPress (Making Your Site Awesome)
The Non-designer's Guide to WordPress (Making Your Site Awesome)The Non-designer's Guide to WordPress (Making Your Site Awesome)
The Non-designer's Guide to WordPress (Making Your Site Awesome)
 
WordPress Customizer
WordPress CustomizerWordPress Customizer
WordPress Customizer
 
The Genesis Framework: Hooks & Filters for Theme Development
The Genesis Framework: Hooks & Filters for Theme DevelopmentThe Genesis Framework: Hooks & Filters for Theme Development
The Genesis Framework: Hooks & Filters for Theme Development
 
Step by step how to create database with phpmyadmin
Step by step how to create database with phpmyadminStep by step how to create database with phpmyadmin
Step by step how to create database with phpmyadmin
 

Similar to Making WordPress Your Own: Theme Customization & Creation

SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
BIWUG
 
html css intro sanskar , saurabh.pptx
html css intro  sanskar , saurabh.pptxhtml css intro  sanskar , saurabh.pptx
html css intro sanskar , saurabh.pptx
Sanskardubey24
 
Castro Chapter 8
Castro Chapter 8Castro Chapter 8
Castro Chapter 8
Jeff Byrnes
 

Similar to Making WordPress Your Own: Theme Customization & Creation (20)

MCC Web Design Workshop
MCC Web Design WorkshopMCC Web Design Workshop
MCC Web Design Workshop
 
full-site-editing-theme-presentation.pptx
full-site-editing-theme-presentation.pptxfull-site-editing-theme-presentation.pptx
full-site-editing-theme-presentation.pptx
 
Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme development
 
Builing a WordPress Theme
Builing a WordPress ThemeBuiling a WordPress Theme
Builing a WordPress Theme
 
Arizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress ThemeArizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress Theme
 
WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4
 
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
 
Introduction to Wordpress
Introduction to WordpressIntroduction to Wordpress
Introduction to Wordpress
 
WordPress Themes and Plugins
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Plugins
 
Share point 2013 Building Websites
Share point 2013 Building WebsitesShare point 2013 Building Websites
Share point 2013 Building Websites
 
Anatomy of a Wordpress theme
Anatomy of a Wordpress themeAnatomy of a Wordpress theme
Anatomy of a Wordpress theme
 
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
 
html css intro sanskar , saurabh.pptx
html css intro  sanskar , saurabh.pptxhtml css intro  sanskar , saurabh.pptx
html css intro sanskar , saurabh.pptx
 
WordPress Webinar Training Presentation
WordPress Webinar Training PresentationWordPress Webinar Training Presentation
WordPress Webinar Training Presentation
 
WordPress Theme Workshop: Part 3
WordPress Theme Workshop: Part 3WordPress Theme Workshop: Part 3
WordPress Theme Workshop: Part 3
 
Using js link and display templates
Using js link and display templatesUsing js link and display templates
Using js link and display templates
 
BITM3730 9-26.pptx
BITM3730 9-26.pptxBITM3730 9-26.pptx
BITM3730 9-26.pptx
 
Wcm4
Wcm4Wcm4
Wcm4
 
Creating Beautiful Wordpress Sites
Creating Beautiful Wordpress SitesCreating Beautiful Wordpress Sites
Creating Beautiful Wordpress Sites
 
Castro Chapter 8
Castro Chapter 8Castro Chapter 8
Castro Chapter 8
 

More from Mykl Roventine

More from Mykl Roventine (20)

More Than Words: The Power of Type
More Than Words: The Power of TypeMore Than Words: The Power of Type
More Than Words: The Power of Type
 
Social Media Strategies for Small Organizations
Social Media Strategies for Small OrganizationsSocial Media Strategies for Small Organizations
Social Media Strategies for Small Organizations
 
More Than Words: The Power of Type
More Than Words: The Power of TypeMore Than Words: The Power of Type
More Than Words: The Power of Type
 
More Than Words: The Power of Type
More Than Words: The Power of TypeMore Than Words: The Power of Type
More Than Words: The Power of Type
 
Design Principles Overview
Design Principles OverviewDesign Principles Overview
Design Principles Overview
 
Design Principles for Non-Designers
Design Principles for Non-DesignersDesign Principles for Non-Designers
Design Principles for Non-Designers
 
Is This Thing On? A Beginner’s Guide to Podcasting
Is This Thing On? A Beginner’s Guide to PodcastingIs This Thing On? A Beginner’s Guide to Podcasting
Is This Thing On? A Beginner’s Guide to Podcasting
 
Visual Storytelling: The State of “Show Me” Social Sharing
Visual Storytelling: The State of “Show Me” Social SharingVisual Storytelling: The State of “Show Me” Social Sharing
Visual Storytelling: The State of “Show Me” Social Sharing
 
Visual Storytelling: The State of “Show Me” Social Sharing
Visual Storytelling: The State of “Show Me” Social SharingVisual Storytelling: The State of “Show Me” Social Sharing
Visual Storytelling: The State of “Show Me” Social Sharing
 
The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)
The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)
The Non-Designer’s Guide to WordPress (Making Your Site Look Awesome)
 
Planning for the Encore: Building An Online Community That Begs For More
Planning for the Encore: Building An Online Community That Begs For MorePlanning for the Encore: Building An Online Community That Begs For More
Planning for the Encore: Building An Online Community That Begs For More
 
Lets Get Social
Lets Get SocialLets Get Social
Lets Get Social
 
The Non-Designers Guide to WordPress (Making Your Site Look Awesome)
The Non-Designers Guide to WordPress (Making Your Site Look Awesome)The Non-Designers Guide to WordPress (Making Your Site Look Awesome)
The Non-Designers Guide to WordPress (Making Your Site Look Awesome)
 
Blogging Basics (for Nonprofits)
Blogging Basics (for Nonprofits)Blogging Basics (for Nonprofits)
Blogging Basics (for Nonprofits)
 
15 Essential WordPress Plugins (and 5 That Will Just Blow Your Mind)
15 Essential WordPress Plugins (and 5 That Will Just Blow Your Mind)15 Essential WordPress Plugins (and 5 That Will Just Blow Your Mind)
15 Essential WordPress Plugins (and 5 That Will Just Blow Your Mind)
 
Word press plugins speed datingWordPress Plugin Speed Dating
Word press plugins speed datingWordPress Plugin Speed Dating Word press plugins speed datingWordPress Plugin Speed Dating
Word press plugins speed datingWordPress Plugin Speed Dating
 
Demystifying WordPress
Demystifying WordPressDemystifying WordPress
Demystifying WordPress
 
15 Essential WordPress Plugins
15 Essential WordPress Plugins15 Essential WordPress Plugins
15 Essential WordPress Plugins
 
Just Your Type: Web Typography & You
Just Your Type: Web Typography & YouJust Your Type: Web Typography & You
Just Your Type: Web Typography & You
 
Twitter Tools
Twitter ToolsTwitter Tools
Twitter Tools
 

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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

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...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
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...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
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
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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
 
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
 

Making WordPress Your Own: Theme Customization & Creation

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6. Templates • WordPress uses only a few basic templates • This means less places to make changes that affect the whole site • A handful of simple changes can make a big difference
  • 8.
  • 9. Themes mainly powered by • style.css • functions.php
  • 10.
  • 11.
  • 12.
  • 13. PSA: Our friend the style sheet • Cascading style sheets (CSS) are not to be feared • Simple, text-based instructions in a specific format • Follow the format and make your dreams come true
  • 14. Typical CSS format #site-title { float: left; font-size: 30px; color: #515151; font-weight: bold; line-height: 36px; margin: 0 0 18px 0; width: 700px; }
  • 15. Small Changes/Big Impact 1. Header and footer 2. Background 3. Color scheme 4. Fonts 5. Plugin styles Start with the low-hanging fruit
  • 16. 1. Header • Change/remove title, description • Add/change header image Footer • add navigation/links • Add/change background
  • 17. 2. Background • Change/add page background image body {background-color:#b0c4de;} • Change/add page background color body {background-image:url('bgdesert.jpg');}
  • 21. 3. Color Scheme • Determine element colors and chance in the style sheet • ColorZilla Plugin (FireFox) can help http://www.colorzilla.com/firefox/
  • 22. 4. Fonts Basic HTML font styles are easy to control via style sheet p, H1, H2, H3... p { font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif; font-size:1em; color:#000; }
  • 23. Web fonts/@fontface Allows you to use virtually any font as a true text element. No longer limited by traditional browser-safe fonts (Arial, Verdana, Times, etc.) http://kernest.com/ http://typekit.com/
  • 25. Typical @fontface CSS code @font-face { font-family: 'Colaborate'; src: url('http://kernest.com/embed/colaborate-regular'), url('http://kernest.com/embed/colaborate- regular#colabreg') format('svg'); } #content h1 { color: #000; font-family: 'Colaborate', Geneva, 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; font-size:32px; }
  • 26. 5. Plugin style hacks • Don’t be afraid to dig into plugin stylesheets to make further customizations
  • 27. General CSS tweak tips • Use Web Developer Toolbar (FireFox) or similar CSS identification tool • Select the element you want to change • Find that style in the CSS and change it • Go slow and only change what you understand • Save and preview often
  • 28. Functionality upgrades 1. Custom pages 2. Modifying the Loop 3. Adding sidebars Going beyond the basics
  • 29. 1. Custom pages • Provides flexibility to change layout based on needs <?php /* Template Name: Calendar */ ?>
  • 30. 2. Modifying the Loop • Change way posts appear on blog homepage index.php, The loop starts here: <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> and ends here: <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?>
  • 31. 3. Adding sidebars • Why? Added functionality • How? 1. functions.php <?php if ( function_exists ('register_sidebar')) { register_sidebar ('custom'); } ?> 2. Copy sidebar.php (sidebar2.php) 3. Call where needed <?php include ('sidebar-cat.php'); ?>
  • 32. 3. Adding sidebars • Why? Added functionality 1. functions.php <?php if ( function_exists ('register_sidebar')) { register_sidebar ('custom'); } ?> 2. Copy sidebar.php (sidebar2.php) 3. Call where needed <?php include ('sidebar-cat.php'); ?>
  • 35. Customization tips • Make changes in stages, easier to go back/troubleshoot • Keep a unaltered copy of the theme handy, just in case • No matter how much you customize always credit the original theme designer
  • 36. Flexible free themes • TwentyTen http://wordpress.org/extend/themes/twentyten • Mystique http://wordpress.org/extend/themes/mystique • Magazine Basic http://wordpress.org/extend/themes/magazine-basic
  • 37. Pro (paid) themes • Thesis http://diythemes.com • Headway http://headwaythemes.com • Genesis Framework http://www.studiopress.com/themes/genesis
  • 41. Make your own theme • Use a blank theme or framework* • Start from scratch :( *Do this
  • 42. Blank themes • Thematic http://themeshaper.com/thematic/ • WP Framework http://wpframework.com • BLANK WordPress Theme http://digwp.com/2010/02/blank-wordpress-theme/ http://digwp.com/2009/07/free-html-5-wordpress-theme/ (HTML 5 version) • Simon WordPress Blank Theme http://simonwebdesign.com/simon-wordpress-framework-blank-theme/ • Whiteboard – A Lightweight WordPress Framework http://whiteboardframework.com/
  • 44. Built on WP Framework
  • 45. Built on WP Framework
  • 46. DIY theme resources • WordPress Codex: Theme Development http://codex.wordpress.org/Theme_Development • How to Build a Custom WordPress Theme from Scratch http://www.blog.spoongraphics.co.uk/ tutorials/how-to-build-a-custom-wordpress- theme-from-scratch
  • 47. Mykl Roventine designer of things myklroventine.com @myklroventine Thank you!

Editor's Notes