Mais conteúdo relacionado Semelhante a WordPress Theming: Getting Started (20) WordPress Theming: Getting Started6. Agenda
• Install WordPress
• Build Process
• Site Architecture
• WordPress Theming (code)
• Media
• Maintaining Responsive Integrity
• Security
on.fb.me/wpandweb | @professor
7. I can’t teach you WordPress
Theming in 45 min
on.fb.me/wpandweb | @professor
8. I can’t teach my students WordPress
Theming in 11 weeks
on.fb.me/wpandweb | @professor
9. I CAN teach you how to learn
WordPress
on.fb.me/wpandweb | @professor
12. The One Click Install
Get over 30% of BlueHost
bit.ly/blhstcoup
13. Next Steps
• Activate Theme of choice
• Install and Activate Necessary Plugins
• Install content
• Theme over content
• BUILD IN THE BROWSER
• Launch
Get over 30% of BlueHost
bit.ly/blhstcoup
15. Planning
on.fb.me/wpandweb | @professor
16. Design
on.fb.me/wpandweb | @professor
25. Get Started Building a Theme
codex.wordpress.org/Site_Design_and_Layout
on.fb.me/wpandweb | @professor
27. Get Started Building a Theme
codex.wordpress.org/Theme_Development
on.fb.me/wpandweb | @professor
28. Tools
on.fb.me/wpandweb | @professor
33. Support
on.fb.me/wpandweb | @professor
34. Support
on.fb.me/wpandweb | @professor
35. Support
on.fb.me/wpandweb | @professor
36. Support
on.fb.me/wpandweb | @professor
37. Support
on.fb.me/wpandweb | @professor
39. Categories Tags
Custom Taxonomies
Taxonomy
A Way To Group Things Together
on.fb.me/wpandweb | @professor
46. (likes) Water
Should Be Used To Link Things Outside Broad Terms
49. Articles
Tutorials Interviews Reviews Rants
HTML
HTML
CSS
RWD
WordPress
CSS
jQuery
Translating This to Posts
Categories and Tags Working Together
60. The Loop
on.fb.me/wpandweb | @professor
61. The Site
on.fb.me/wpandweb | @professor
62. The loop
Get over 30% of BlueHost
bit.ly/blhstcoup
63. The Loop
on.fb.me/wpandweb | @professor
67. Hard
Soft
Hard vs Soft Cropping
This is universal throughout WordPress
on.fb.me/wpandweb | @professor
76. Taking Control
WordPress wp_is_mobile();
<?php
if ( wp_is_mobile() ) the_post_thumbnail( 'post-thumb' );
else the_post_thumbnail ( 'post-large' );
?>
on.fb.me/wpandweb | @professor
94. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry()
isHTC()
isNexus()
isDellStreak()
isMotorola()
isSamsung()
isSony()
isAsus()
isPalm()
isGenericPhone()
isAcerTablet()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
95. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC()
isNexus()
isDellStreak()
isMotorola()
isSamsung()
isSony()
isAsus()
isPalm()
isGenericPhone()
isAcerTablet()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
96. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus()
isDellStreak()
isMotorola()
isSamsung()
isSony()
isAsus()
isPalm()
isGenericPhone()
isAcerTablet()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
97. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak()
isMotorola()
isSamsung()
isSony()
isAsus()
isPalm()
isGenericPhone()
isAcerTablet()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
98. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola()
isSamsung()
isSony()
isAsus()
isPalm()
isGenericPhone()
isAcerTablet()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
99. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung()
isSony()
isAsus()
isPalm()
isGenericPhone()
isAcerTablet()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
100. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony()
isAsus()
isPalm()
isGenericPhone()
isAcerTablet()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
101. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus()
isPalm()
isGenericPhone()
isAcerTablet()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
102. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm()
isGenericPhone()
isAcerTablet()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
103. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone()
isAcerTablet()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
104. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
105. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
106. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
107. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
108. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad()
isKindle()
on.fb.me/wpandweb | @professor
109. Taking More Control
isiPhone() isSamsungTablet()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle()
on.fb.me/wpandweb | @professor
110. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
111. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
112. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
113. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
114. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet() isDolfin()
isMotorola() isAcerTablet()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
115. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet() isDolfin()
isMotorola() isAcerTablet() isOpera()
isSamsung() isYarvikTablet()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
116. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet() isDolfin()
isMotorola() isAcerTablet() isOpera()
isSamsung() isYarvikTablet() isSkyfire()
isSony() isGenericTablet()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
117. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet() isDolfin()
isMotorola() isAcerTablet() isOpera()
isSamsung() isYarvikTablet() isSkyfire()
isSony() isGenericTablet() isIE()
isAsus() isAndroidOS()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
118. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet() isDolfin()
isMotorola() isAcerTablet() isOpera()
isSamsung() isYarvikTablet() isSkyfire()
isSony() isGenericTablet() isIE()
isAsus() isAndroidOS() isFirefox()
isPalm() isBlackBerryOS()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
119. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet() isDolfin()
isMotorola() isAcerTablet() isOpera()
isSamsung() isYarvikTablet() isSkyfire()
isSony() isGenericTablet() isIE()
isAsus() isAndroidOS() isFirefox()
isPalm() isBlackBerryOS() isBolt()
isGenericPhone() isPalmOS()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
120. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet() isDolfin()
isMotorola() isAcerTablet() isOpera()
isSamsung() isYarvikTablet() isSkyfire()
isSony() isGenericTablet() isIE()
isAsus() isAndroidOS() isFirefox()
isPalm() isBlackBerryOS() isBolt()
isGenericPhone() isPalmOS() isTeaShark()
isAcerTablet() isSymbianOS()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
121. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet() isDolfin()
isMotorola() isAcerTablet() isOpera()
isSamsung() isYarvikTablet() isSkyfire()
isSony() isGenericTablet() isIE()
isAsus() isAndroidOS() isFirefox()
isPalm() isBlackBerryOS() isBolt()
isGenericPhone() isPalmOS() isTeaShark()
isAcerTablet() isSymbianOS() isBlazer()
isYarvikTablet() isWindowsMobileOS()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
122. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet() isDolfin()
isMotorola() isAcerTablet() isOpera()
isSamsung() isYarvikTablet() isSkyfire()
isSony() isGenericTablet() isIE()
isAsus() isAndroidOS() isFirefox()
isPalm() isBlackBerryOS() isBolt()
isGenericPhone() isPalmOS() isTeaShark()
isAcerTablet() isSymbianOS() isBlazer()
isYarvikTablet() isWindowsMobileOS() isSafari()
isGenericTablet() isiOS()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
123. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet() isDolfin()
isMotorola() isAcerTablet() isOpera()
isSamsung() isYarvikTablet() isSkyfire()
isSony() isGenericTablet() isIE()
isAsus() isAndroidOS() isFirefox()
isPalm() isBlackBerryOS() isBolt()
isGenericPhone() isPalmOS() isTeaShark()
isAcerTablet() isSymbianOS() isBlazer()
isYarvikTablet() isWindowsMobileOS() isSafari()
isGenericTablet() isiOS() isMidori()
isBlackBerryTablet() isFlashLiteOS()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
124. Taking More Control
isiPhone() isSamsungTablet() iswebOS()
isBlackBerry() isHTCtablet() isbadaOS()
isHTC() isMotorolaTablet() isBREWOS()
isNexus() isAsusTablet() isChrome()
isDellStreak() isNookTablet() isDolfin()
isMotorola() isAcerTablet() isOpera()
isSamsung() isYarvikTablet() isSkyfire()
isSony() isGenericTablet() isIE()
isAsus() isAndroidOS() isFirefox()
isPalm() isBlackBerryOS() isBolt()
isGenericPhone() isPalmOS() isTeaShark()
isAcerTablet() isSymbianOS() isBlazer()
isYarvikTablet() isWindowsMobileOS() isSafari()
isGenericTablet() isiOS() isMidori()
isBlackBerryTablet() isFlashLiteOS() isGenericBrowser()
isiPad() isJavaOS()
isKindle() isNokiaOS()
on.fb.me/wpandweb | @professor
127. WordPress Rest of the Internet
22%
78%
WordPress Security
Step 1. Understanding It
on.fb.me/wpandweb | @professor
128. 99% of the time it’s
a lame password
WordPress Security
Step 2. Identifying Vulnerabilities
on.fb.me/wpandweb | @professor
129. •Create hard passwords
•Assign “admin” user account “subscriber” level access
•Don’t post under any Administrator level account
•Change your table prefix from wp_ to something like abc123_
•Force SSL in the admin
define('FORCE_SSL_ADMIN', true);
•Deny access to your wp-config.php file with .htaccess
•Remove your WP Version with
remove_action('wp_head', 'wp_generator');
WordPress Security
Step 3. Be Unpredictable
on.fb.me/wpandweb | @professor
133. bit.ly/WP28days
bit.ly/WPadvanced
Thanks to thenounproject.com on.fb.me/wpandweb | @professor