SlideShare a Scribd company logo
1 of 24
How I Learned to Stop Worrying and Love the Code Benjamin J. Balter webBen.Balter.com emailBen@Balter.com twitter	@BenBalter
In Five Minutes You Will Know HTML & PHP (well, just enough knowledge to be dangerous)
HTML
Tags HTML consists of Tags All tags are surrounded by “<“ and “>” e.g., <tag> Tags come in pairs, affecting the content between them e.g., <tag> …. </tag> Tags can also have attributes e.g, <tag attribute=“value”> … </tag>
Common Tags Bold: <strong> … </strong> Italic: <em> … </em> Paragraph: <p> … </p> Heading: <h1> … </h1>, <h2> … </h2> Link: <a href=“http://…”> … </a> Image: <imgsrc=“http://…” /> Full List: w3schools.com
<p> 	This is an <em>example</em> of a  <a href=“http://wordpress.org”>Link to 	<strong>WordPress<strong></a>, 	and here is an image <imgsrc=“http://	wordpress.org/logo.jpg” /> </p>
New to HTML? Google: HTML, CSS, & js from the Ground Uphttp://code.google.com/edu/submissions/html-css-javascript/ HTML Doghttp://htmldog.com/ W3 Learning Wikihttp://www.w3.org/wiki/HTML/Training W3 Element Wikihttp://www.w3.org/wiki/HTML/Elements
In the Beginning There was… <?php
Distinguishing PHP from HTML PHP code is wrapped in <?phpand ?> tags. Example: 		<p> 			The current time is:  <?phpecho date(‘m:s’); ?> 		</p>
Variables A variable is value stored by the server This value can be A number Text Bool (true/false) Other variables (an array) Variables are identified by “$” Variables are set with “=” e.g., $name = “Ben”; echo $name;
If Statement An if statement performs an action if a statement is true if ( $color == “red” ) { echo “The ball is red!”; 		}
If Statement If statements can also perform an action if a statement is false.  if ( $color == “red” ) { echo “The ball is red!”; 		} else { echo“The ball is not red”; 			}
While Loop A while loop continues to perform an action while a condition is true While ( $count < 5 ) { echo $count; 			$count = $count + 1; 		}
Other Loops For for ( $count, $count < 5, $count++ ) { echo $count; } Foreach foreach( $students as $student_name) { echo $student_name; 	}
Functions A function is a pre-set list of commands 700+ built in functions, or you can make your own Functions can take arguments Always followed by parenthesis e.g., strlen( ‘how now brown cow’ );
Functions A function is defined… function add( $number1, $number2 ) { 		$sum = $number1 + $number2; return $sum; 	}
Functions And then called… 	The sum of 1 and 1 is  <?phpechoadd( 1, 1 ); ?>.
Final Notes on PHP After every command you need a semicolon Not after If, for, while, foreach, etc. Yes: round( $number, 2 ); No: if ( $number > 5 ) { ; Want to know what a function does? http://php.net/{the name of the function} e.g., http://php.net/strtoupper
Putting It All Together: loop-page.php <?phpif ( have_posts() ) while ( have_posts() ) : the_post(); ?> <div id="post-<?phpthe_ID(); ?>" <?phppost_class(); ?>> 		<?phpif ( is_front_page() ) { ?> <h2 class="entry-title"> 				<?phpthe_title(); ?> </h2> 		<?php } else { ?> <h1 class="entry-title"> 				<?phpthe_title(); ?> </h1> 		<?php } ?>
Putting It All Together (Cont.) <div class="entry-content"> <?phpthe_content(); ?> 	<?phpwp_link_pages( array( 'before' =>  				'<div class="page-link">' . __( 'Pages:', 'twentyten' ),  			'after' => '</div>' ) ); ?> <?phpedit_post_link( __( 'Edit', 'twentyten' ),  		'<span class="edit-link">', '</span>' ); ?> 		</div><!-- .entry-content --> 	</div><!-- #post-## --> 	<?phpcomments_template( '', true ); ?> <?phpendwhile; // end of the loop. ?>
Tools & Resources
Tools Text Editor Whatever came with your computer Notepad++ (Windows) TextWrangler, Coda (Mac) FTP Client (to connect to server) WinSCP, Notepad++ (Windows) CyberDuck, Coda (Mac) WordPress Define( WP_DEBUG, true); in wp-config.php Debug bar plugin WordPress Codex
Benjamin J. Balter  webBen.Balter.com emailBen@Balter.com twitter 	@BenBalter

More Related Content

What's hot

PHP tutorial | ptutorial
PHP tutorial | ptutorialPHP tutorial | ptutorial
PHP tutorial | ptutorialPTutorial Web
 
Php(report)
Php(report)Php(report)
Php(report)Yhannah
 
WordPress 3 and You
WordPress 3 and YouWordPress 3 and You
WordPress 3 and YouOren Yomtov
 
Simplifying Code: Koombea TechTalks
Simplifying Code: Koombea TechTalks Simplifying Code: Koombea TechTalks
Simplifying Code: Koombea TechTalks Koombea
 
basic knowledge abot html
basic knowledge abot htmlbasic knowledge abot html
basic knowledge abot htmlAnkit Dubey
 
XML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEARXML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEARStephan Schmidt
 
The Big Documentation Extravaganza
The Big Documentation ExtravaganzaThe Big Documentation Extravaganza
The Big Documentation ExtravaganzaStephan Schmidt
 
Component and Event-Driven Architectures in PHP
Component and Event-Driven Architectures in PHPComponent and Event-Driven Architectures in PHP
Component and Event-Driven Architectures in PHPStephan Schmidt
 
Internet Technology and its Applications
Internet Technology and its ApplicationsInternet Technology and its Applications
Internet Technology and its Applicationsamichoksi
 

What's hot (12)

PHP tutorial | ptutorial
PHP tutorial | ptutorialPHP tutorial | ptutorial
PHP tutorial | ptutorial
 
Php(report)
Php(report)Php(report)
Php(report)
 
php string-part 2
php string-part 2php string-part 2
php string-part 2
 
PHP
PHP PHP
PHP
 
WordPress 3 and You
WordPress 3 and YouWordPress 3 and You
WordPress 3 and You
 
Simplifying Code: Koombea TechTalks
Simplifying Code: Koombea TechTalks Simplifying Code: Koombea TechTalks
Simplifying Code: Koombea TechTalks
 
basic knowledge abot html
basic knowledge abot htmlbasic knowledge abot html
basic knowledge abot html
 
XML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEARXML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEAR
 
The Big Documentation Extravaganza
The Big Documentation ExtravaganzaThe Big Documentation Extravaganza
The Big Documentation Extravaganza
 
PEAR For The Masses
PEAR For The MassesPEAR For The Masses
PEAR For The Masses
 
Component and Event-Driven Architectures in PHP
Component and Event-Driven Architectures in PHPComponent and Event-Driven Architectures in PHP
Component and Event-Driven Architectures in PHP
 
Internet Technology and its Applications
Internet Technology and its ApplicationsInternet Technology and its Applications
Internet Technology and its Applications
 

Similar to How I Learned to Stop Worrying and Love the Code

Introduction To Lamp
Introduction To LampIntroduction To Lamp
Introduction To LampAmzad Hossain
 
Система рендеринга в Magento
Система рендеринга в MagentoСистема рендеринга в Magento
Система рендеринга в MagentoMagecom Ukraine
 
Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0Cathie101
 
Open Source Package PHP & MySQL
Open Source Package PHP & MySQLOpen Source Package PHP & MySQL
Open Source Package PHP & MySQLkalaisai
 
Open Source Package Php Mysql 1228203701094763 9
Open Source Package Php Mysql 1228203701094763 9Open Source Package Php Mysql 1228203701094763 9
Open Source Package Php Mysql 1228203701094763 9isadorta
 
WordPress Development Confoo 2010
WordPress Development Confoo 2010WordPress Development Confoo 2010
WordPress Development Confoo 2010Brendan Sera-Shriar
 
Phing - A PHP Build Tool (An Introduction)
Phing - A PHP Build Tool (An Introduction)Phing - A PHP Build Tool (An Introduction)
Phing - A PHP Build Tool (An Introduction)Michiel Rook
 
KMUTNB - Internet Programming 3/7
KMUTNB - Internet Programming 3/7KMUTNB - Internet Programming 3/7
KMUTNB - Internet Programming 3/7phuphax
 
What's new in Rails 2?
What's new in Rails 2?What's new in Rails 2?
What's new in Rails 2?brynary
 
What Is Php
What Is PhpWhat Is Php
What Is PhpAVC
 

Similar to How I Learned to Stop Worrying and Love the Code (20)

Introduction To Lamp
Introduction To LampIntroduction To Lamp
Introduction To Lamp
 
Control Structures In Php 2
Control Structures In Php 2Control Structures In Php 2
Control Structures In Php 2
 
John Rowley Notes
John Rowley NotesJohn Rowley Notes
John Rowley Notes
 
Система рендеринга в Magento
Система рендеринга в MagentoСистема рендеринга в Magento
Система рендеринга в Magento
 
Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0
 
Php
PhpPhp
Php
 
Web development
Web developmentWeb development
Web development
 
Open Source Package PHP & MySQL
Open Source Package PHP & MySQLOpen Source Package PHP & MySQL
Open Source Package PHP & MySQL
 
Open Source Package Php Mysql 1228203701094763 9
Open Source Package Php Mysql 1228203701094763 9Open Source Package Php Mysql 1228203701094763 9
Open Source Package Php Mysql 1228203701094763 9
 
HTML & CSS
HTML & CSSHTML & CSS
HTML & CSS
 
WordPress Development Confoo 2010
WordPress Development Confoo 2010WordPress Development Confoo 2010
WordPress Development Confoo 2010
 
Phing - A PHP Build Tool (An Introduction)
Phing - A PHP Build Tool (An Introduction)Phing - A PHP Build Tool (An Introduction)
Phing - A PHP Build Tool (An Introduction)
 
Design Patterns in Ruby
Design Patterns in RubyDesign Patterns in Ruby
Design Patterns in Ruby
 
JSP Custom Tags
JSP Custom TagsJSP Custom Tags
JSP Custom Tags
 
KMUTNB - Internet Programming 3/7
KMUTNB - Internet Programming 3/7KMUTNB - Internet Programming 3/7
KMUTNB - Internet Programming 3/7
 
Diva
DivaDiva
Diva
 
SlideShare Instant
SlideShare InstantSlideShare Instant
SlideShare Instant
 
SlideShare Instant
SlideShare InstantSlideShare Instant
SlideShare Instant
 
What's new in Rails 2?
What's new in Rails 2?What's new in Rails 2?
What's new in Rails 2?
 
What Is Php
What Is PhpWhat Is Php
What Is Php
 

Recently uploaded

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Recently uploaded (20)

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

How I Learned to Stop Worrying and Love the Code

  • 1. How I Learned to Stop Worrying and Love the Code Benjamin J. Balter webBen.Balter.com emailBen@Balter.com twitter @BenBalter
  • 2. In Five Minutes You Will Know HTML & PHP (well, just enough knowledge to be dangerous)
  • 3.
  • 5. Tags HTML consists of Tags All tags are surrounded by “<“ and “>” e.g., <tag> Tags come in pairs, affecting the content between them e.g., <tag> …. </tag> Tags can also have attributes e.g, <tag attribute=“value”> … </tag>
  • 6. Common Tags Bold: <strong> … </strong> Italic: <em> … </em> Paragraph: <p> … </p> Heading: <h1> … </h1>, <h2> … </h2> Link: <a href=“http://…”> … </a> Image: <imgsrc=“http://…” /> Full List: w3schools.com
  • 7. <p> This is an <em>example</em> of a <a href=“http://wordpress.org”>Link to <strong>WordPress<strong></a>, and here is an image <imgsrc=“http:// wordpress.org/logo.jpg” /> </p>
  • 8. New to HTML? Google: HTML, CSS, & js from the Ground Uphttp://code.google.com/edu/submissions/html-css-javascript/ HTML Doghttp://htmldog.com/ W3 Learning Wikihttp://www.w3.org/wiki/HTML/Training W3 Element Wikihttp://www.w3.org/wiki/HTML/Elements
  • 9. In the Beginning There was… <?php
  • 10. Distinguishing PHP from HTML PHP code is wrapped in <?phpand ?> tags. Example: <p> The current time is: <?phpecho date(‘m:s’); ?> </p>
  • 11. Variables A variable is value stored by the server This value can be A number Text Bool (true/false) Other variables (an array) Variables are identified by “$” Variables are set with “=” e.g., $name = “Ben”; echo $name;
  • 12. If Statement An if statement performs an action if a statement is true if ( $color == “red” ) { echo “The ball is red!”; }
  • 13. If Statement If statements can also perform an action if a statement is false. if ( $color == “red” ) { echo “The ball is red!”; } else { echo“The ball is not red”; }
  • 14. While Loop A while loop continues to perform an action while a condition is true While ( $count < 5 ) { echo $count; $count = $count + 1; }
  • 15. Other Loops For for ( $count, $count < 5, $count++ ) { echo $count; } Foreach foreach( $students as $student_name) { echo $student_name; }
  • 16. Functions A function is a pre-set list of commands 700+ built in functions, or you can make your own Functions can take arguments Always followed by parenthesis e.g., strlen( ‘how now brown cow’ );
  • 17. Functions A function is defined… function add( $number1, $number2 ) { $sum = $number1 + $number2; return $sum; }
  • 18. Functions And then called… The sum of 1 and 1 is <?phpechoadd( 1, 1 ); ?>.
  • 19. Final Notes on PHP After every command you need a semicolon Not after If, for, while, foreach, etc. Yes: round( $number, 2 ); No: if ( $number > 5 ) { ; Want to know what a function does? http://php.net/{the name of the function} e.g., http://php.net/strtoupper
  • 20. Putting It All Together: loop-page.php <?phpif ( have_posts() ) while ( have_posts() ) : the_post(); ?> <div id="post-<?phpthe_ID(); ?>" <?phppost_class(); ?>> <?phpif ( is_front_page() ) { ?> <h2 class="entry-title"> <?phpthe_title(); ?> </h2> <?php } else { ?> <h1 class="entry-title"> <?phpthe_title(); ?> </h1> <?php } ?>
  • 21. Putting It All Together (Cont.) <div class="entry-content"> <?phpthe_content(); ?> <?phpwp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> <?phpedit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?> </div><!-- .entry-content --> </div><!-- #post-## --> <?phpcomments_template( '', true ); ?> <?phpendwhile; // end of the loop. ?>
  • 23. Tools Text Editor Whatever came with your computer Notepad++ (Windows) TextWrangler, Coda (Mac) FTP Client (to connect to server) WinSCP, Notepad++ (Windows) CyberDuck, Coda (Mac) WordPress Define( WP_DEBUG, true); in wp-config.php Debug bar plugin WordPress Codex
  • 24. Benjamin J. Balter webBen.Balter.com emailBen@Balter.com twitter @BenBalter