wordpress
TRANSCRIPT
Christopher | @castig
GETTING STARTEDWITH WORDPRESS
THEMES
2
POP QUIZPOP QUIZ
POP QUIZ 3
1. Using PHP, write the code to assign your name to a variable
POP QUIZ 4
<?php $myname = “Chris”; ?>
ANSWER
POP QUIZ 5
2. And then write the code to print that variable to the screen.
POP QUIZ 6
<?php $myname = “Chris”; echo $myname; ?>
ANSWER
POP QUIZ 7
3. How is installing MAMP on your mac different from getting a LAMP stack from bluehost.com?
POP QUIZ 8
MAMP is local
Getting a LAMP stack from bluehost.com is remote
ANSWER
9
POP QUIZPOP QUIZ
POP QUIZ 10
1. What is the NAME of the online Wordpress user manual?
POP QUIZ 11
WordPress Codexthe online manual for WordPress and a living repository for WordPress information and documentation.
ANSWER
POP QUIZ 12
2. In which directory of your project must the style.css go?
POP QUIZ 13
style.css must go in the root of your project!
ANSWER
POP QUIZ 14
3. What needs to be done to style.css in order for Wordpress to recognize your theme?
POP QUIZ 15
ANSWERThe Information Header
needs to be added to the top of your style.css.
POP QUIZ 16
4. Which Wordpress template tag do you use to display information about your blog?
And specifically... the url of your site?
POP QUIZ 17
bloginfo()bloginfo(‘url’)home_url(‘/’)
ANSWER
INDEX.HTML -> INDEX.PHP 19
index.php
HOME PAGE 20
header.php
footer.php
index.php
HOME PAGE W/ LOOP 21
header.php
footer.php
index.php
“SINGLE” BLOG POST 22
header.php
footer.php
single.php
“PAGE” (NOT LISTED BY DATE) 23
header.php
footer.php
page.php