SlideShare a Scribd company logo
HI, MY NAME IS
JORDAN
Thursday, 25 April 13
A LITTLE BIT
ABOUT ME
Thursday, 25 April 13
Thursday, 25 April 13
Thursday, 25 April 13
Thursday, 25 April 13
Thursday, 25 April 13
COLDFUSION
PHP ASP
JAVA
RUBY JAVASCRIPT
image: http://reactiongifs.com/?p=996
Thursday, 25 April 13
DANGEROUS
TO BE
KNOW ENOUGH
Thursday, 25 April 13
DANGEROUS
TO BE
KNOW ENOUGH
TWEAKING YOUR WORDPRESS THEME
Thursday, 25 April 13
HOW WORDPRESS WORKS
image: http://harriespotters.tumblr.com/
Thursday, 25 April 13
HOW WORDPRESS WORKS
DATABASE THEME
YOUR CONTENT HOW THINGS LOOK
Thursday, 25 April 13
YOUR THEME
image: http://tom-raider.tumblr.com/
Thursday, 25 April 13
ANATOMY OF A THEME
image: http://thelissomelightofevening.tumblr.com/
Thursday, 25 April 13
ANATOMY OF A THEME
YOUR AWESOME THEME
404.php
archive.php
footer.php
header.php
index.php
images
page.php
search.php
sidebar.php
single.php
style.css
scripts.js
Thursday, 25 April 13
SCARED YET?
image: http://www.bukk.it/cat-dramatic.gif
Thursday, 25 April 13
ANATOMY OF A THEME
YOUR AWESOME THEME
404.php
archive.php
footer.php
header.php
index.php
images
page.php
search.php
sidebar.php
single.php
style.css
scripts.js
Thursday, 25 April 13
PHP / HTML
YOUR AWESOME THEME
404.php
archive.php
footer.php
header.php
index.php
images
page.php
search.php
sidebar.php
single.php
style.css
scripts.js
Thursday, 25 April 13
PHP / HTML
Thursday, 25 April 13
PHP / HTML
Thursday, 25 April 13
COPING?
image: speakinginternet.tumblr.com
Thursday, 25 April 13
HTML
AN AWESOME TITLE
A FANTASTIC BYLINE
In hac habitasse platea dictumst. Nam pulvinar, odio
sed rhoncus suscipit, sem diam ultrices mauris, eu
consequat purus metus eu velit.
Thursday, 25 April 13
HTML
AN AWESOME TITLE
A FANTASTIC BYLINE
In hac habitasse platea dictumst. Nam pulvinar, odio
sed rhoncus suscipit, sem diam ultrices mauris, eu
consequat purus metus eu velit.
<h1> </h1>
<h2> </h2>
<p>
</p>
<div>
</div>
Adding Structure and Meaning
Thursday, 25 April 13
HTML
<img src = “whereTheImageIs.jpg” alt = “description”>
<a href = “thePageLink.pdf”> Link Text </a>
<ul>
<li>List Item Text</li>
<li>List Item Text</li>
<ul>
Some More Elements
Thursday, 25 April 13
CLASSES & IDs
<div id=”aSingleID”> ... </div>
<div class=”oneOfManyClasses”> ... </div>
<div class=”oneOfManyClasses”> ... </div>
Something to grab onto
Thursday, 25 April 13
PHP
<?php ... ?>
Doing all the Hard Work
Thursday, 25 April 13
PHP & The Loop
<?php if ( have_posts() ) while (have_posts()) : the_post(); ?>
.... magic! ...
<?php endwhile; endif; ?>
You’ll see this a lot.
Thursday, 25 April 13
PHP & Template Tags
You’ll see these a lot.
<?php the_title(); ?>
<?php the_permalink(); ?>
<?php the_content(); ?>
<?php the_excerpt(); ?>
Thursday, 25 April 13
image: http://bukk.it/applause.gif
Thursday, 25 April 13
JAVASCRIPT
YOUR AWESOME THEME
404.php
archive.php
footer.php
header.php
index.php
images
page.php
search.php
sidebar.php
single.php
style.css
scripts.js
Thursday, 25 April 13
JAVASCRIPT
image: http://bukk.it/productivity.gif
Thursday, 25 April 13
Cascading Style Sheets
YOUR AWESOME THEME
404.php
archive.php
footer.php
header.php
index.php
images
page.php
search.php
sidebar.php
single.php
style.css
scripts.js
Thursday, 25 April 13
Cascading Style Sheets
from this...
Thursday, 25 April 13
Cascading Style Sheets
to this!
Thursday, 25 April 13
Cascading Style Sheets
Thursday, 25 April 13
Cascading Style Sheets
image: http://bukk.it/blinkhomer.gif
Thursday, 25 April 13
Cascading Style Sheets
Remember those classes and IDs?
<div id=”aSingleID”> ... </div>
<div class=”oneOfManyClasses”> ... </div>
<div class=”oneOfManyClasses”> ... </div>
Thursday, 25 April 13
Cascading Style Sheets
Hooking In! (selectors)
#aSingle ID { .... }
.oneOfManyClasses { ... }
Thursday, 25 April 13
Cascading Style Sheets
Adding style (property and value)
color: #ff0000;
text-align: left;
Thursday, 25 April 13
Cascading Style Sheets
Putting it Together
#aSingle ID {
color: #ff0000;
text-align: left;
background-color: #0000ff;
border: 1px solid #111111
padding: 10px 10px 5px 8px;
}
Thursday, 25 April 13
Cascading Style Sheets
image: http://bukk.it/clap-nj.gifit
Thursday, 25 April 13
Editing Your Theme
Thursday, 25 April 13
Editing Your Theme
image: http://ano.lolcathost.org/thumbs//code-25.gif
Thursday, 25 April 13
Tools You’ll Need
FTP Editor
CyberDuck (MAC)
FileZilla (PC)
Thursday, 25 April 13
Tools You’ll Need
Text Editor
Text Wrangler (MAC)
NotePad ++ (PC)
Thursday, 25 April 13
Tools You’ll Need
Browser Inspectors
Chrome Developer Tools
Firebug (for Firefox)
Safari Developer Tools
Thursday, 25 April 13
Let’s Get Started
Thursday, 25 April 13
Let’s Get Started
Thursday, 25 April 13
Let’s Get Started
Add Picture
Add Dates
Less Gap
Bigger Type
Thursday, 25 April 13
Connect to the Server
Using your FTP Client
Thursday, 25 April 13
Connect to the Server
wp-content > themes > your_theme
Thursday, 25 April 13
Connect to the Server
Thursday, 25 April 13
WARNING: Cowboy Coding
image: http://gif-central.blogspot.com.au/2012/09/cowboy-shaking-head.html
Thursday, 25 April 13
WARNING: Cowboy Coding
Duplicate/Backup the Theme Folder!!
Duplicate/Backup File You’re Editing!!
Thursday, 25 April 13
Adding The Picture
Add Picture
Thursday, 25 April 13
Adding The Picture
<img src = “jordan.jpg” alt = “A picture of Jordan”
id= “sidebarPhoto”>
sidebar.php
Thursday, 25 April 13
Adding The Picture
Thursday, 25 April 13
Adding The Picture
#sidebarPhoto {
float:left;
width:100px;
margin-right:10px;
}
styles.css
Thursday, 25 April 13
Adding The Picture
Thursday, 25 April 13
Adding The Picture
image: http://bukk.it/struttin.gif
Thursday, 25 April 13
Tweaking the Excerpt
Less Gap
Bigger Type
Thursday, 25 April 13
Tweaking the Excerpt
Using Developer Tools
Thursday, 25 April 13
Tweaking the Excerpt
Using Developer Tools
Thursday, 25 April 13
Tweaking the Excerpt
#blog .meta {
font-size: 13px;
line-height: 14px;
margin-bottom: 14px;
color: #b8ada0;
}
styles.css
Thursday, 25 April 13
Tweaking the Excerpt
#blog .meta {
font-size: 18px;
line-height: 14px;
margin-bottom: 5px;
color: #b8ada0;
}
styles.css
Thursday, 25 April 13
Tweaking the Excerpt
#blog .meta {
font-size: 18px;
line-height: 14px;
margin-bottom: 5px;
color: #b8ada0;
}
styles.css
Thursday, 25 April 13
Tweaking the Excerpt
Thursday, 25 April 13
Tweaking the Excerpt
image: http://bukk.it/blues.gif
Thursday, 25 April 13
Adding Published Date to List
Add Date
Thursday, 25 April 13
Adding Published Date to List
Thursday, 25 April 13
Adding Published Date to List
Thursday, 25 April 13
Adding Published Date to List
<li>
<a href="<?php the_permalink(); ?>">
<?php the_title(); ?>
</a>
</li>
Thursday, 25 April 13
Adding Published Date to List
<li>
<a href="<?php the_permalink(); ?>">
<?php the_title(); ?>
</a>
<p class="meta"><?php the_date(); ?></p>
</li>
Thursday, 25 April 13
Adding Published Date to List
<li>
<a href="<?php the_permalink(); ?>">
<?php the_title(); ?>
</a>
<p class="meta"><?php the_date(); ?></p>
</li>
Thursday, 25 April 13
Adding Published Date to List
Thursday, 25 April 13
Adding Published Date to List
image: http://bukk.it/celebration.gif
Thursday, 25 April 13
Resources:
http://www.jordesign.com/be-dangerous
http://codex.wordpress.org/
Thursday, 25 April 13
Thanks!
Questions?
Thursday, 25 April 13

More Related Content

Similar to Know Enough to Be Dangerous

WordPress for Beginners - YES Montreal
WordPress for Beginners - YES MontrealWordPress for Beginners - YES Montreal
WordPress for Beginners - YES Montreal
Kathryn Presner
 
Dust[in]
Dust[in]Dust[in]
Dust[in]
Veena Basavaraj
 
A Designers Approach to Customizing Themes
A Designers Approach to Customizing ThemesA Designers Approach to Customizing Themes
A Designers Approach to Customizing Themes
travistotz
 
Contornando as resoluções dos devices de maneira simples
Contornando as resoluções dos devices de maneira simplesContornando as resoluções dos devices de maneira simples
Contornando as resoluções dos devices de maneira simples
iMasters
 
Nosql kl-2013-04-25
Nosql kl-2013-04-25Nosql kl-2013-04-25
Nosql kl-2013-04-25
Tristan Gomez
 
Building Cordova plugins for iOS
Building Cordova plugins for iOSBuilding Cordova plugins for iOS
Building Cordova plugins for iOS
Grgur Grisogono
 
RabbitMQ Hands On
RabbitMQ Hands OnRabbitMQ Hands On
RabbitMQ Hands On
Alvaro Videla
 
Multisite for the Masses
Multisite for the MassesMultisite for the Masses
Multisite for the Masses
Richard Archambault
 

Similar to Know Enough to Be Dangerous (8)

WordPress for Beginners - YES Montreal
WordPress for Beginners - YES MontrealWordPress for Beginners - YES Montreal
WordPress for Beginners - YES Montreal
 
Dust[in]
Dust[in]Dust[in]
Dust[in]
 
A Designers Approach to Customizing Themes
A Designers Approach to Customizing ThemesA Designers Approach to Customizing Themes
A Designers Approach to Customizing Themes
 
Contornando as resoluções dos devices de maneira simples
Contornando as resoluções dos devices de maneira simplesContornando as resoluções dos devices de maneira simples
Contornando as resoluções dos devices de maneira simples
 
Nosql kl-2013-04-25
Nosql kl-2013-04-25Nosql kl-2013-04-25
Nosql kl-2013-04-25
 
Building Cordova plugins for iOS
Building Cordova plugins for iOSBuilding Cordova plugins for iOS
Building Cordova plugins for iOS
 
RabbitMQ Hands On
RabbitMQ Hands OnRabbitMQ Hands On
RabbitMQ Hands On
 
Multisite for the Masses
Multisite for the MassesMultisite for the Masses
Multisite for the Masses
 

Recently uploaded

Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
FODUU
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 

Recently uploaded (20)

Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 

Know Enough to Be Dangerous