forked from layla37/GDI-WordPress-101
-
Notifications
You must be signed in to change notification settings - Fork 1
/
class2.html
executable file
·555 lines (480 loc) · 26 KB
/
class2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Intro to Wordpress : Class 2 ~ Girl Develop It</title>
<meta name="description" content="This is the official Girl Develop It Core Intro to Wordpress course. The course is meant to be taught in four two-hour sessions. Each of the slides and practice files are customizable according to the needs of a given class or audience.">
<meta name="author" content="Girl Develop It">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="stylesheet" href="css/reveal.min.css">
<link rel="stylesheet" href="css/theme/gdiaa.css" id="theme">
<link rel="stylesheet" href="lib/css/light.css">
<link rel="stylesheet" href="css/print/pdf.css" media="print">
<script src="lib/js/head.min.js"></script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<section id="beginning-slide">
<img src="images/gdi_logo_badge.png" class="img--bare" height="450px" />
<div class="box--small">
<h3 class="blue"><span class="green">Intro to Wordpress</span></h3>
<h4><span class="blue">Class 2</span></h4>
</div>
</section>
<section>
<h3>Welcome back!</h3>
<h4 class="blue">This evening you will...</h4>
<ul class="box--small list--tall copy--small">
<li>Learn about the remaining admin menu items</li>
<li>Learn about Plugins and how to find, install and activate them</li>
<li>Learn about Themes and how to find, install, preview and activate them</li>
<li>Learn about keep Wordpress secure</li>
<li>Learn about further options for customizing WordPress</li>
<li>End with resources, questions, one-and-one help and wrap-up</li>
</ul>
</section>
<section>
<h3>But First</h3>
<h4 class="blue">A review...</h4>
<ul class="box--small list--tall copy--small">
<li>What is the difference between WordPress.org and WordPress.com?</li>
<li>What is the difference between a Page and a Post?</li>
</ul>
</section>
</section>
<section>
<section>
<h3>What are Plugins?</h3>
<h4 class="blue">Official description from WordPress.org</h4>
<blockquote>
Plugins can extend WordPress to do almost anything you can imagine.
</blockquote>
</section>
<section>
<h3>Plugins are</h3>
<h4 class="blue">Powerful</h4>
<p class="box--small copy--small">
Plugins are used to add functionality to WordPress. Examples include ecommerce, SEO, forms, photo galleries, social media sharing, forums and much more!
</p>
</section>
<section>
<h3>Plugins are</h3>
<h4 class="blue">Often Free</h4>
<p class="box--small copy--small">
Right now there are 40,316 free plugins in the official <a href="http://wordpress.org/plugins/" target="_blank">WordPress Plugin Directory</a>.
</p>
</section>
<section>
<h3>Plugins</h3>
<h4 class="blue">Plugins menu</h4>
<p class="box--small copy--small">
WordPress comes with 2 plugins:
<ul class="box--small list--tall copy--small">
<li><strong>Akismet:</strong> Protects your blog from comment and trackback spam. This plugin requires an <a href="http://akismet.com/wordpress" target="_blank">Akismet key</a></li>
<li><strong>Hello Dolly:</strong> Adds a random lyric from "Hello Dolly" to the upper right-hand corner of admin screen.</li>
</ul>
</p>
</section>
<section>
<h3>Plugins</h3>
<h4 class="blue">Managing Plugins</h4>
<p class="box--small copy--small">
<ul class="box--small list--tall copy--small">
<li><strong>Activate/Deactivate:</strong> Turns plugins "on" and "off"</li>
<li><strong>Edit:</strong> Ability to edit plugin files NOT RECOMMENDED</li>
<li><strong>Delete:</strong> Delete deactivated plugins</li>
</ul>
</p>
</section>
<section>
<h3>Plugins</h3>
<h4 class="blue">Finding plugins</h4>
<ul class="box--small list--tall copy--small">
<li>Searching under Plugins > Add New</li>
<li>Browsing the <a href="http://wordpress.org/plugins/" target="_blank">WordPress Plugin Directory</a></li>
</ul>
</section>
<section>
<h3>Plugins</h3>
<h4 class="blue">3 ways to install plugins</h4>
<ul class="box--small list--tall copy--small">
<li>Clicking "Install Now" from "Install Plugins" search results</li>
<li>Download a plugin zip file and install it via the "Upload" link</li>
<li>Unzip the plugin files and upload it via FTP to the<br /> <code>/wp-content/plugins</code> folder</li>
</ul>
</section>
<section>
<h3>Plugins</h3>
<h4 class="blue">Usage tip</h4>
<p class="box--small copy--small">
Plugins often use <a href="http://codex.wordpress.org/Shortcode" target="_blank">shortcodes</a> to add content to a page or post.
</p>
<p class="box--small copy--small">
For example, the plugin <a href="http://wordpress.org/plugins/contact-form-7/" target="_blank">Contact Form 7</a> uses the shortcode <code>[contact-form-7 id="105"]</code> (the ID is the ID of the form) to allow you a form to a page or post.
</p>
</section>
<section>
<h3>Plugins</h3>
<h4 class="blue">Security tip - Vet plugins first</h4>
<ul class="box--small list--tall copy--small">
<li><strong>Ratings</strong> Read the plugin reviews</li>
<li><strong>Maintenance</strong> Check to see it the plugin has regular updates</li>
<li><strong>Support</strong> See if the plugin developers regularly answer support questions</li>
</ul>
</section>
<section>
<h3>Top Free Plugins</h3>
<h4 class="blue">Free plugins I couldn't live without</h4>
<ul class="box--small list--tall copy--small">
<li><strong><a href="http://wordpress.org/plugins/contact-form-7/" target="_blank">Contact Form 7:</a></strong> Used to make simple contact forms </li>
<li><strong><a href="http://wordpress.org/plugins/wordpress-seo/" target="_blank">WordPress SEO by Yoast:</a></strong> SEO plugin for WordPress </li>
<li><strong><a href="http://wordpress.org/plugins/woocommerce/" target="_blank">WooCommerce:</a></strong> Ecommerce plugin</li>
<li><strong><a href="http://wordpress.org/plugins/sucuri-scanner/" target="_blank">Sucuri Free:</a></strong> Malware scanning and 1-click hardening</li>
</ul>
</section>
<section>
<h3>Top Premium Plugins</h3>
<h4 class="blue">For-pay plugins I couldn't live without</h4>
<ul class="box--small list--tall copy--small">
<li><strong><a href="http://www.gravityforms.com/" target="_blank">Gravity Forms:</a></strong> A very powerful and feature-rich forms builder</li>
<li><strong><a href="http://ithemes.com/purchase/backupbuddy/" target="_blank">Backup Buddy:</a></strong> Easily backup, restore and migrate a WordPress site</li>
<li><strong><a href="http://revolution.themepunch.com/" target="_blank">Slider Revolution:</a></strong> My favorite slider plugin</li>
<li><strong><a href="http://vc.wpbakery.com/" target="_blank">Visual Composer:</a></strong> My favorite drag-and-drop page builder</li>
</ul>
</section>
<section>
<h3>Exercise time!</h3>
<h4 class="blue">Some tasks to get you familiar with installing and activating plugins</h4>
<ul class="box--small list--tall copy--small">
<li>Search for plugins via Plugins > Add New and try some</li>
<li>Browse the <a href="http://wordpress.org/plugins/" target="_blank">WordPress Plugins Directory</a>, download one and install it using the "upload" link</li>
</ul>
<p class="box--small copy--small">
<a href="http://e.ggtimer.com/10minutes" target="_blank"><strong>10 minutes</strong></a>
</p>
</section>
</section>
<section>
<section>
<h3>What are Themes?</h3>
<h4 class="blue">Official description from WordPress.org</h4>
<blockquote>
Fundamentally, the WordPress Theme system is a way to 'skin' your weblog. Yet, it is more than just a 'skin.' Skinning your site implies that only the design is changed. WordPress Themes can provide much more control over the look and <em>presentation</em> of the material on your website.
</blockquote>
</section>
<section>
<h3>Themes are</h3>
<h4 class="blue">Powerful</h4>
<p class="box--small copy--small">
A theme not only determines how a site looks, it can also determine its functionality. There are themes that can turn a WordPress site into an online store, an art portfolio, project management system, CRM, bug tracking system and more.
</p>
</section>
<section>
<h3>Themes are</h3>
<h4 class="blue">Often Free</h4>
<p class="box--small copy--small">
Right now there are over 2,006 free themes in the official <a href="http://wordpress.org/themes/" target="_blank">WordPress Themes Directory</a>.
</p>
</section>
<section>
<h3>Managing Themes</h3>
<h4 class="blue">Appearance > Themes</h4>
<p class="box--small copy--small">
WordPress currently comes with 3 themes: Twenty Fifteen, Twenty Fourteen and Twenty Thirteen.
</p>
<p class="box--small copy--small">
Under <strong>Appearance > Themes</strong> is a list of all installed themes. The theme in use is labeled "Active."
</p>
</section>
<section>
<h3>Themes</h3>
<h4 class="blue">Appearance > Themes</h4>
<p class="box--small copy--small">
<strong>"Live Preview" before you activate or customize a theme</strong>
</p>
<p class="box--small copy--small">
Click "Customize" under the current theme or "Live Preview" under an available theme to see how a new or modified theme will look before you commit to it.
</p>
</section>
<section>
<h3>Themes</h3>
<h4 class="blue">Finding new themes</h4>
<ul class="box--small list--tall copy--small">
<li>Searching under the "Add Themes" tab</li>
<li>Browsing the <a href="http://wordpress.org/themes/" target="_blank">WordPress Themes Directory</a></li>
</ul>
</section>
<section>
<h3>Themes</h3>
<h4 class="blue">3 ways to install themes</h4>
<ul class="box--small list--tall copy--small">
<li>Install right from the "Install Themes" tab</li>
<li>Download a theme zip file and install it via the "upload theme" link</li>
<li>Unzip the theme files and upload it via SFTP, FTP, Git, etc. to the<br /> <code>/wp-content/themes</code> folder</li>
</ul>
</section>
<section>
<h3>Exercise time!</h3>
<h4 class="blue">Some tasks to get you familiar with installing, previewing and activating themes</h4>
<ul class="box--small list--tall copy--small">
<li>Use the live theme previewer to see how Twenty Thirteen will look on your site and try activating it</li>
<li>Search for themes via the "Install Themes" tab and give one a try</li>
<li>Browse the <a href="http://wordpress.org/themes/" target="_blank">WordPress Themes Directory</a>, download one and install it using the "upload" link</li>
</ul>
<p class="box--small copy--small">
<a href="http://e.ggtimer.com/10minutes" target="_blank"><strong>10 minutes</strong></a>
</p>
</section>
</section>
<section>
<section>
<h3>Security</h3>
<h4 class="blue">Being popular means you're a target</h4>
<p class="copy--small box--small">
It is important to take security seriously when running a site that uses a CMS.
</p>
</section>
<section>
<h3>Security</h3>
<h4 class="blue">During install</h4>
<ul class="box--small list--tall copy--small">
<li>Choose a good host</li>
<li>Make your database table prefix unique. Don't use "wp_" or "wordpress_"</li>
<li>Create a new database user, don't use the default</li>
<li>Make your database user password strong.</li>
<li><strong>Do not use "admin" as a username.</strong> "admin" used to be the default WordPress username. Use a unique username and a very strong Password</li>
</ul>
</section>
<section>
<h3>Security</h3>
<h4 class="blue">Ater install: WordPress hardening</h4>
<ul class="box--small list--tall copy--small">
<li>Take some <a href="http://codex.wordpress.org/Hardening_WordPress" target="_blank">code-level and sysadmin steps</a> to "harden" WordPress</li>
<ul class="box--small list--tall copy--small">
<li>Securing wp-includes</li>
<li>Securing wp-config.php</li>
<li>Disable File Editing</li>
<li>And more</li>
</ul>
<li>Or use a <a href="http://wordpress.org/plugins/sucuri-scanner/" target="_blank">security plugin</a> like Sucuri that performs "1-click hardening"</li>
</ul>
</section>
<section>
<h3>Security</h3>
<h4 class="blue">After your site's live: Monitoring and protection</h4>
<ul class="box--small list--tall copy--small">
<li><strong>Keep WordPress core, themes and plugins updated!</strong></li>
<li>Use a security plugin</li>
<li>Use a service that scans and your site daily for malware</li>
<li>Use a firewall service that shields your site from hackers and malware. Some hosts, like WPEngine.com, have this built into their hosting service</li>
</ul>
</section>
<section>
<h3>Security</h3>
<h4 class="blue">If you do get hacked</h4>
<ul class="box--small list--tall copy--small">
<li>Use a malware removal service.</li>
<ul class="box--small list--tall copy--small">
<li><strong><a href="http://sucuri.net/" target="_blank">Sucuri.net</a></strong> Reasonably priced WordPress security experts</li>
<li><strong><a href="http://WPEngine.com/" target="_blank">WPEngine.com</a></strong> WordPress hosting that includes malware cleanup if needed</li>
</ul>
</li>
</ul>
</section>
</section>
<section>
<section>
<h3>Deploying Your Site</h3>
<p class="box--small copy--small">Once your local site is to a point where you're ready to deploy it to a live webserver, you'll need the following tools:</p>
<div class="box--small">
<ul class="box--small list--tall copy--small">
<li>Webhosting space</li>
<li>Access to cPanel and MySQL Database on your webhosting space</li>
<li>An FTP client like <a href="https://cyberduck.io/?l=en" target="_blank">CyberDuck</a> or <a href="https://filezilla-project.org/" target="_blank">Filezilla</a></li>
<li>The <a href="https://wordpress.org/plugins/duplicator/" target="_blank">Duplicator plugin</a></li>
</ul>
</div>
<p class="box--small copy--small">Once you have those, you can follow this <a href="http://premium.wpmudev.org/blog/guide-to-migrating-localhost-wordpress-to-live-site" target="_blank">WPMUDev tutorial</a> to deploy your site to a live webserver.</p>
</section>
<section>
<h3>Development on a Remote Host</h3>
<p>This class has covered local development, but you can also use a remote host.</p>
<ul>
<li>Via cPanel</li>
<li>Via FTP ("manual install")</li>
</ul>
</section>
<section>
<h3>Installing WordPress</h3>
<h4 class="blue">What WordPress needs to run on a remote host</h4>
<ul class="box--small list--tall copy--small">
<li>A hosting account running PHP version 5.2.4 or greater (recommended: PHP 5.4 or greater) and MySQL version 5.0 or greater (recommended: MySQL 5.5 or greater) </li>
<li>Software from WordPress.org or an install feature through a hosting account control panel</li>
<li>A domain name (or temporary URL provided by your host)</li>
</ul>
</section>
<section>
<h3>Installing WordPress</h3>
<h4 class="blue">What Is Needed For a Control Panel Install</h4>
<ul class="box--small list--tall copy--small">
<li>Web host needs to offer it</li>
<li>Access to your hosting control panel</li>
</ul>
</section>
<section>
<h3>Control Panel Install</h3>
<h4 class="blue">Example: InMotionHosting with Cpanel</h4>
<p class="copy--small box--small">
<img src="images/cpanel1.jpg" alt="">
</p>
</section>
<section>
<h3>Control Panel Install</h3>
<h4 class="blue">Example: InMotionHosting with Cpanel</h4>
<p class="copy--small box--small">
<img src="images/cpanel2.jpg" alt="">
</p>
</section>
<section>
<h3>Control Panel Install</h3>
<h4 class="blue">Example: InMotionHosting with Cpanel</h4>
<p class="copy--small box--small">
<img src="images/cpanel3.jpg" alt="">
</p>
</section>
<section>
<h3>Installing WordPress</h3>
<h4 class="blue">What Is Needed For a Manual Install</h4>
<ul class="box--small list--tall copy--small">
<li>Access to your hosting control panel to create a database and database user</li>
<li>A SFTP Program. SFTP (or FTP) is the method used to upload and download files between a computer and a hosting account</li>
<li>A Web browser. Installation is performed step-by-step on a web browser</li>
</ul>
</section>
<section>
<h3>Manual Install</h3>
<h4 class="blue">Upload WordPress software via SFTP to your hosting account</h4>
<p class="copy--small box--small">
<img src="images/manual1.jpg" alt="">
</p>
</section>
<section>
<h3>Manual Install</h3>
<h4 class="blue">Bring your site up in a web browser to do the step-by-step install</h4>
<p class="copy--small box--small">
<img src="images/manual2.jpg" alt="">
</p>
</section>
</section>
<section>
<section>
<h3>Where to go from here?</h3>
<h4 class="blue">Further Customizing WordPress</h4>
<p class="box--small copy--small">
<strong>Power Users</strong> - Use theme frameworks to tweak site design.
</p>
<p class="box--small copy--small">
<strong>Web Designers</strong> - Use HTML, CSS and PHP to build your own themes.
</p>
</section>
<section>
<h3>Where to go from here?</h3>
<h4 class="blue">Power users</h4>
<p class="box--small copy--small">
<strong>Theme Frameworks</strong>
</p>
<ul class="box--small list--tall copy--small">
<li><a href="http://my.studiopress.com/themes/genesis/" target="_blank"><strong>Genesis</strong></a> - The Genesis Framework empowers you to quickly and easily build incredible websites with WordPress.</li>
<li><a href="http://diythemes.com/" target="_blank"><strong>Thesis</strong></a> - Web design that you can customize from the comfort of your WordPress dashboard</li>
<li><a href="http://www.woothemes.com/" target="_blank"><strong>WooThemes Canvas</strong></a> - WordPress theme with facilities to change just about every element of the layout and style</li>
<li><a href="http://athemes.com/collections/best-wordpress-theme-frameworks" target="_blank"><strong>And many more!</strong></a></li>
</ul>
</section>
<section>
<h3>Where to go from here?</h3>
<h4 class="blue">Web designers</h4>
<p class="box--small copy--small">
Folks with HTML/CSS skill set can customize or build their own WordPress themes.
</p>
</section>
<section>
<h3>Resources</h3>
<ul class="box--small list--tall copy--small">
<li><a href="https://codex.wordpress.org/" target="_blank">Wordpress Codex</a></li>
<li><a href="https://wordpress.org/plugins/" target="_blank">Wordpress Plugin Directory</a></li>
<li><a href="https://wordpress.org/themes/" target="_blank">Wordpress Theme Directory</a></li>
<li><a href="http://themeforest.net/category/wordpress" target="_blank">Themeforest.net</a> - for premium themes</li>
</section>
<section>
<h3>Resources</h3>
<h4 class="blue">Join the Ann Arbor WordPress Meetup Group</h4>
<p class="box--small copy--small">
The Ann Arbor WordPress Meetup Group is a group of WordPress enthusiasts in and around the Ann Arbor area who love working with WordPress in a variety of different ways.
</p>
<p class="box--small copy--small">
<a href="http://www.meetup.com/WordPress-Ann-Arbor" target="_blank">http://www.meetup.com/WordPress-Ann-Arbor</a>
</p>
</section>
<section>
<h3>Resources</h3>
<h4 class="blue">Attend a WordCamp</h4>
<p class="box--small copy--small">
WordCamps are affordable, informal, community-organized WordPress conferences held all over the world. They are packed with workshops geared toward WordPress users, designers and developers.
</p>
<p class="box--small copy--small">
<a href="http://central.wordcamp.org/" target="_blank">central.wordcamp.org</a>
</p>
</section>
<section>
<h2>The End!</h2>
<h3 class="green box">Questions?</h3>
<h4 class="blue">One-on-one help time</h4>
<p class="box--small copy--small">Feel free to pull me or a TA over to answer questions specific to your projects or regarding any issue not covered in class.</p>
</section>
<section>
<img src="images/gdi_logo_badge.png" class="img--bare" height="450px" />
<div class="box--small">
<h3><span class="green">Intro to Wordpress</span></h3>
<h4><span class="blue">See you soon!</span></h4>
</div>
</section>
</section>
</div>
<footer>
<div class="copyright">
Intro to Wordpress ~ GDI Ann Arbor ~
<a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/deed.en_US"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc/3.0/80x15.png" /></a>
</div>
</footer>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/reveal.min.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
rollingLinks: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/none
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
]
});
</script>
</body>
</html>