wordpress

23
Christopher | @castig GETTING STARTED WITH WORDPRESS THEMES

Upload: chris-castiglione

Post on 06-May-2015

753 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Wordpress

Christopher | @castig

GETTING STARTEDWITH WORDPRESS

THEMES

Page 2: Wordpress

2

POP QUIZPOP QUIZ

Page 3: Wordpress

POP QUIZ 3

1. Using PHP, write the code to assign your name to a variable

Page 4: Wordpress

POP QUIZ 4

<?php $myname = “Chris”; ?>

ANSWER

Page 5: Wordpress

POP QUIZ 5

2. And then write the code to print that variable to the screen.

Page 6: Wordpress

POP QUIZ 6

<?php $myname = “Chris”; echo $myname; ?>

ANSWER

Page 7: Wordpress

POP QUIZ 7

3. How is installing MAMP on your mac different from getting a LAMP stack from bluehost.com?

Page 8: Wordpress

POP QUIZ 8

MAMP is local

Getting a LAMP stack from bluehost.com is remote

ANSWER

Page 9: Wordpress

9

POP QUIZPOP QUIZ

Page 10: Wordpress

POP QUIZ 10

1. What is the NAME of the online Wordpress user manual?

Page 11: Wordpress

POP QUIZ 11

WordPress Codexthe online manual for WordPress and a living repository for WordPress information and documentation.

ANSWER

Page 12: Wordpress

POP QUIZ 12

2. In which directory of your project must the style.css go?

Page 13: Wordpress

POP QUIZ 13

style.css must go in the root of your project!

ANSWER

Page 14: Wordpress

POP QUIZ 14

3. What needs to be done to style.css in order for Wordpress to recognize your theme?

Page 15: Wordpress

POP QUIZ 15

ANSWERThe Information Header

needs to be added to the top of your style.css.

Page 16: Wordpress

POP QUIZ 16

4. Which Wordpress template tag do you use to display information about your blog?

And specifically... the url of your site?

Page 17: Wordpress

POP QUIZ 17

bloginfo()bloginfo(‘url’)home_url(‘/’)

ANSWER

Page 18: Wordpress
Page 19: Wordpress

INDEX.HTML -> INDEX.PHP 19

index.php

Page 20: Wordpress

HOME PAGE 20

header.php

footer.php

index.php

Page 21: Wordpress

HOME PAGE W/ LOOP 21

header.php

footer.php

index.php

Page 22: Wordpress

“SINGLE” BLOG POST 22

header.php

footer.php

single.php

Page 23: Wordpress

“PAGE” (NOT LISTED BY DATE) 23

header.php

footer.php

page.php