SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

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
 

Tendances (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
 

Similaire à 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
 

Similaire à 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
 

Dernier

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
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 WorkerThousandEyes
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 

Dernier (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

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