I gave a brief lightning talk at April’s WordPress DC Meetup on the basics of HTML and PHP (“coding for dummies”). The goal was to help you edit your site without breaking it. Below are the slides.
The Cliff’s Notes are
-
The process
- The server executes PHP and outputs HTML, CSS, JavaScript, and so on

- The user’s browser takes that output and renders a visual representation of the page
- The server executes PHP and outputs HTML, CSS, JavaScript, and so on
-
Client-side Languages
- HTML – Static (unchanging) content; provides structure
- CSS – Provides style and form
- JavaScript – Provides interactivity
-
PHP – Wrapped with “
<?php” and “?>”- Variable - Text, a number, true/false, or a group of variable; identified by “
$” IfStatement – performs an action if a statement is trueWhileLoop – performs an action while a statement is trueFor/Foreach– combines elements ofwhileandif- Functions – predefined set of actions; always followed by “
( )” - Don’t forget semicolons
- Variable - Text, a number, true/false, or a group of variable; identified by “
Links to Resources Mentioned
-
HTML
-
Text Editor
-
FTP Client (to connect to server)
-
WordPress
define( 'WP_DEBUG', true );in wp-config.php- Debug bar plugin
- WordPress Codex
Thanks to all who came out or tuned into the live stream. Comments? Questions? I’d love to hear your thoughts below or feel free to contact me.