wordpress complete tutorial

186
WordPress 3.4

Upload: opensource-technologies-pvt-ltd

Post on 29-Jan-2015

116 views

Category:

Technology


3 download

DESCRIPTION

Overview & Examples Getting Started CMS Tips & Tricks Beyond the Basics Keep it Safe, Secure & Spiffy More Handy Plugins What else can WP do?

TRANSCRIPT

Page 1: WordPress Complete Tutorial

WordPress 3.4

Page 2: WordPress Complete Tutorial

What do you want to learn?

Page 3: WordPress Complete Tutorial

Agenda

1. Overview & Examples

2. Getting Started

3. CMS Tips & Tricks

4. Beyond the Basics

5. Keep it Safe, Secure & Spiffy

6. More Handy Plugins

7. What else can WP do?

Page 4: WordPress Complete Tutorial

1: Overview & Examples

Page 5: WordPress Complete Tutorial

What is WordPress?

Page 6: WordPress Complete Tutorial

Content Management System

http://www.flickr.com/photos/atibens/4578260998/

Page 7: WordPress Complete Tutorial

Open Source is Unlocked

Page 8: WordPress Complete Tutorial

Open Source is Community

Page 9: WordPress Complete Tutorial
Page 10: WordPress Complete Tutorial

WordPress in LibrariesExamples

Page 11: WordPress Complete Tutorial

Blogging

Page 12: WordPress Complete Tutorial
Page 13: WordPress Complete Tutorial
Page 14: WordPress Complete Tutorial
Page 15: WordPress Complete Tutorial
Page 16: WordPress Complete Tutorial

Writing a WordPress Post

Page 17: WordPress Complete Tutorial

Pages - the heart of your site

http://www.flickr.com/photos/tearsandrain/3526002850

Page 18: WordPress Complete Tutorial

Pages for Static Content

Page 19: WordPress Complete Tutorial

Custom Layout for Static Page

Page 20: WordPress Complete Tutorial

Running a full web site

Page 21: WordPress Complete Tutorial
Page 22: WordPress Complete Tutorial
Page 23: WordPress Complete Tutorial
Page 24: WordPress Complete Tutorial
Page 25: WordPress Complete Tutorial

Personal Web Site

Page 26: WordPress Complete Tutorial
Page 27: WordPress Complete Tutorial
Page 28: WordPress Complete Tutorial

And more!

Page 29: WordPress Complete Tutorial
Page 30: WordPress Complete Tutorial

How it works

• You create content

• Content stored in a database

• Pages don’t ‘exist’ until requested

• User clicks on a link

• PHP code retrieves content from database.

• CSS used to style page

• Page is displayed

Page 31: WordPress Complete Tutorial

Add Content – Web Based Interface

Page 32: WordPress Complete Tutorial

Stored in a database

the_title

the_content

Page 33: WordPress Complete Tutorial

Page created when requested

Page 34: WordPress Complete Tutorial

Same content on other pages

Page 35: WordPress Complete Tutorial

THEMES make it look good!

Page 36: WordPress Complete Tutorial

Same Content – Different Themes

Page 37: WordPress Complete Tutorial

Hosting WordPress

Page 38: WordPress Complete Tutorial

Free Hosted Versions

Page 39: WordPress Complete Tutorial

Free Hosted Versions

Page 40: WordPress Complete Tutorial

Free Hosted Versions

Pros:

• Free

• No tech skills required

• Easy

Cons:

• No custom URL

• Can’t upload themes & plugins

Page 41: WordPress Complete Tutorial

Host your own?

Page 42: WordPress Complete Tutorial

LAMPLinuxApacheMySQLPHP

http://www.flickr.com/photos/neonarcade/23955187

Page 43: WordPress Complete Tutorial

Technical Requirements

• Currently Version 3.4.x

• PHP version 4.3 or greater *• MySQL version 4.1.2 or greater • http://codex.wordpress.org/

Hosting_WordPress

* Might find some plugins require more recent version of PHP.

Page 44: WordPress Complete Tutorial

Hosting on your own server?

• Cost? • Storage capacity?• Bandwidth?• Tech Support? • Install software yourself

http://www.flickr.com/photos/jamisonjudd/2433102356

Page 45: WordPress Complete Tutorial

“If you have no idea what to do with this download….”

Page 46: WordPress Complete Tutorial

Commercial Services

• Often under $10/month• Tech support

• One Click Install!

For more hosts: http://wordpress.org/hosting/

Page 47: WordPress Complete Tutorial

2: Getting Started

Page 48: WordPress Complete Tutorial

Admin Dashboard

Page 49: WordPress Complete Tutorial

Lose the ‘admin’ login!

Page 50: WordPress Complete Tutorial

Users Add New User

Page 51: WordPress Complete Tutorial

Settings General

Page 52: WordPress Complete Tutorial

Settings Permalinks

Page 53: WordPress Complete Tutorial

Editing a Post Permalink

Page 54: WordPress Complete Tutorial

Writing a Post

• News & events & updates

• Most recent appears at the top

• Older posts get bumped off the page

• Stored in Archives

• Special page for posts

Page 55: WordPress Complete Tutorial

Writing a Post

Page 56: WordPress Complete Tutorial

Writing a Post

Page 57: WordPress Complete Tutorial

Read More…

Page 58: WordPress Complete Tutorial

Read the rest of the entry…

Page 59: WordPress Complete Tutorial

Make a Post STICKY

Page 60: WordPress Complete Tutorial

Sticky post at top.

Page 61: WordPress Complete Tutorial

Publish Later

Page 62: WordPress Complete Tutorial

Tags vs Categories

Page 63: WordPress Complete Tutorial

Images & Videos

Page 64: WordPress Complete Tutorial

Add Media Button

Page 65: WordPress Complete Tutorial

Add Media Button

Page 66: WordPress Complete Tutorial
Page 67: WordPress Complete Tutorial

Places image in post

Page 68: WordPress Complete Tutorial

Get rid of Caption?

Page 69: WordPress Complete Tutorial

ALT text

Page 70: WordPress Complete Tutorial

Change default image sizes

Page 71: WordPress Complete Tutorial

Create a Gallery

Page 72: WordPress Complete Tutorial

[gallery] shortcode

Page 73: WordPress Complete Tutorial

SimpleViewer Pluginfor fancier galleries

wordpress.org/extend/plugins/wp-simpleviewer/

Page 74: WordPress Complete Tutorial

SimpleViewer Shortcode

Page 75: WordPress Complete Tutorial
Page 76: WordPress Complete Tutorial

Embed Video

Page 77: WordPress Complete Tutorial

Viper's Video Quicktags Plugin

http://wordpress.org/extend/plugins/vipers-video-quicktags/

Page 78: WordPress Complete Tutorial

Viper's Video Quicktags Plugin

Page 79: WordPress Complete Tutorial
Page 80: WordPress Complete Tutorial

Themes

Page 81: WordPress Complete Tutorial

Themes

Page 82: WordPress Complete Tutorial
Page 83: WordPress Complete Tutorial
Page 84: WordPress Complete Tutorial
Page 85: WordPress Complete Tutorial

Themes – Add new themes

Page 86: WordPress Complete Tutorial

Search for a new theme

Page 87: WordPress Complete Tutorial

FTP access -

Page 88: WordPress Complete Tutorial

Themes with extras!

Page 89: WordPress Complete Tutorial

Sidebar Widgets

Page 90: WordPress Complete Tutorial

Widgets on Sidebar

Page 91: WordPress Complete Tutorial

Appearance Widgets

Page 92: WordPress Complete Tutorial

Text Widget to Customize

Page 93: WordPress Complete Tutorial

Text Widget & 3rd Party Content

Page 94: WordPress Complete Tutorial

Basic Plugins

Page 95: WordPress Complete Tutorial

Plugins add functionality & features

Page 96: WordPress Complete Tutorial

Plugins Page

Page 97: WordPress Complete Tutorial

WordPress.com Stats• Requires API

code from wordpress.com

http://wordpress.org/extend/plugins/stats/

Page 98: WordPress Complete Tutorial

Google Analytics

• Sign up with GA• Enter ID in WP

Settings panel

http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

Page 99: WordPress Complete Tutorial

Akismet

• Requires API code from wordpress.com • http://wordpress.org/extend/plugins/akismet/

Page 100: WordPress Complete Tutorial

More great plugins later!

Page 101: WordPress Complete Tutorial

3: CMS Tips & Tricks

Page 102: WordPress Complete Tutorial

Settings Permalinks

Page 103: WordPress Complete Tutorial

Custom Permalink Structure

news/gaming-night-for-teens/

Page 104: WordPress Complete Tutorial

Making a static front page

Page 105: WordPress Complete Tutorial

Create a Main Page

Page 106: WordPress Complete Tutorial

Create a Page for Posts

No Content for the Page, just a title

Page 107: WordPress Complete Tutorial

Settings Reading

Select Front Page & Posts Page

Page 108: WordPress Complete Tutorial

News tab shows Posts now

Page 109: WordPress Complete Tutorial

But …

Home & Welcome both go to the same place.

Need to delete HOME

Page 110: WordPress Complete Tutorial

Edit header.php file

• Delete the line of code that creates the default HOME link

Page 111: WordPress Complete Tutorial

Yay, extra tab is gone!

Page 112: WordPress Complete Tutorial

4: Beyond the Basics

Page 113: WordPress Complete Tutorial

Great New Custom Menus in 3.0

Page 114: WordPress Complete Tutorial
Page 115: WordPress Complete Tutorial

Custom Menu in Sidebar Widget

Page 116: WordPress Complete Tutorial

Custom Content TypesCustom Fields

Page 117: WordPress Complete Tutorial

Custom Fields Example

Page 118: WordPress Complete Tutorial

Custom Field – Post Page

http://wordpress.org/extend/plugins/more-fields/

Page 119: WordPress Complete Tutorial

Custom Post (Content!) Types

http://wordpress.org/extend/plugins/more-types/

Page 120: WordPress Complete Tutorial
Page 121: WordPress Complete Tutorial

More on Themes, CSS & Templates

Page 122: WordPress Complete Tutorial

A quick look at the Theme Editor

• Modify existing themes

• Change fonts, colors, graphics

• Create your own themes

• Wordpress.com – ~ $15 year extra

Page 123: WordPress Complete Tutorial

Template & Styles

Page 124: WordPress Complete Tutorial

Stylesheet – styles.css

Page 125: WordPress Complete Tutorial
Page 126: WordPress Complete Tutorial

Editing a .php file

Custom 404 page

Page 127: WordPress Complete Tutorial
Page 128: WordPress Complete Tutorial
Page 129: WordPress Complete Tutorial

404.php template

Page 130: WordPress Complete Tutorial
Page 131: WordPress Complete Tutorial

<?php get_header(); ?><div id="primary"><h1 class="page-title">Oops! </h1><p>This page is missing. Try the search box</p>

<?php include (TEMPLATEPATH . "/searchform.php"); ?></div>

<?php get_footer(); ?>

PHP code & HTML

Page 132: WordPress Complete Tutorial

Template Pages

Page 133: WordPress Complete Tutorial

Page uses “no sidebar” template

Page 134: WordPress Complete Tutorial

Add Page – Select Template

Page 135: WordPress Complete Tutorial

Editing a Template

Page 136: WordPress Complete Tutorial

Web Developer Firefox Add On

Page 137: WordPress Complete Tutorial
Page 138: WordPress Complete Tutorial

5: Keep it Safe, Secure & Spiffy

http://www.flickr.com/photos/maistora/3237164755

Page 139: WordPress Complete Tutorial

Don’t leave the door unlocked Run the latest version

Page 140: WordPress Complete Tutorial

Get rid of default ADMIN user

• Sign in

• Create a new user with total admin rights

• Sign out

• Sign in to the new user account

• Delete the old admin account

• Use your new account just for adminstrative stuff

Page 141: WordPress Complete Tutorial

Manage User Accounts

• Give yourself a separate account for writing/editing

• Define what access your contributors need

Page 142: WordPress Complete Tutorial

Security Keys

• Check your wp-config.php file

• Does it have security keys?– define('AUTH_KEY', 'put your unique phrase here');

– define('SECURE_AUTH_KEY', 'put your unique phrase here');

– etc…….

– More Info: http://goo.gl/SIhf

Page 143: WordPress Complete Tutorial

Use reliable themes & plugins

• Check WordPress.org directories

• Check the ratings & forum discussions

• Test, test, test! And test some more.• Keep them up to date!• Deactivate & Delete

unwanted plugins

Page 144: WordPress Complete Tutorial

Plugins - Deactivate, then Delete

Page 145: WordPress Complete Tutorial

Back it up!

1. Backup your database:– Via web host control panel– Or wp-db-backup plugin

(wordpress.org/extend/plugins/wp-db-backup/)

2. FTP to server and copy: • wp-content/themes• wp-content/plugins• wp-content/uploads (images, files, etc.)

Page 146: WordPress Complete Tutorial

WP-DB-BACKUP plugin

Page 147: WordPress Complete Tutorial

Google XML Sitemaps

wordpress.org/extend/plugins/google-sitemap-generator/

Page 148: WordPress Complete Tutorial

6: Handy Plugins

Page 149: WordPress Complete Tutorial

All in one SEO

wordpress.org/extend/plugins/all-in-one-seo-pack/

Page 150: WordPress Complete Tutorial

Facebook Like Button

wordpress.org/extend/plugins/facebook-like-button/

Page 151: WordPress Complete Tutorial

Sexy Bookmarks

wordpress.org/extend/plugins/sexybookmarks/

Page 152: WordPress Complete Tutorial

Simple Viewer Gallery

wordpress.org/extend/plugins/wp-simpleviewer/

Page 153: WordPress Complete Tutorial

OpenBook Book Data

johnmiedema.ca/portfolio/openbook-wordpress-plugin/

Page 154: WordPress Complete Tutorial

WP Contact Form Plugin

http://wordpress.org/extend/plugins/wp-contact-form/

Page 155: WordPress Complete Tutorial

Add <!--contact form--> to a page

Page 156: WordPress Complete Tutorial

The Events Calendar

http://wordpress.org/extend/plugins/the-events-calendar/

Page 157: WordPress Complete Tutorial

http://wordpress.org/extend/plugins/the-events-calendar/

Settings

Page 158: WordPress Complete Tutorial
Page 159: WordPress Complete Tutorial
Page 160: WordPress Complete Tutorial
Page 161: WordPress Complete Tutorial

MobilePress

• Detects mobile device

• Displays mobile version of page

http://wordpress.org/extend/plugins/mobilepress/

Page 162: WordPress Complete Tutorial

MobilePress

Page 163: WordPress Complete Tutorial

http://www.flickr.com/photos/purplelime/1569139115/

WordPress App

Page 164: WordPress Complete Tutorial

http://www.zirona.com/software/wordpress-donations-cloud/

Donations Cloud – works with PayPal

Page 165: WordPress Complete Tutorial

More Plugins…

• WP Plugin Repository– http://wordpress.org/extend/plugins/

• My links to plugins – http://delicious.com/grdnldy/wordpress+plugins

• Lots of great plugins discussed on this blog:– Lorelle on WordPress http://lorelle.wordpress.com

Page 166: WordPress Complete Tutorial

7: What else can we do with WP?

Page 167: WordPress Complete Tutorial

BuddyPressbuddypress.org

Page 168: WordPress Complete Tutorial

The Academic Commons...is designed to support faculty initiatives and build community through the use(s) of technology in teaching and learning.

The Academic Commons...is designed to support faculty initiatives and build community through the use(s) of technology in teaching and learning.

...Creating networks and support systems that are enabled by easy access to quality digital resources will nurture faculty development through sharing replicable materials and best practices.

...Creating networks and support systems that are enabled by easy access to quality digital resources will nurture faculty development through sharing replicable materials and best practices.

About the CUNY (City University of New York) Academic Commons

Page 169: WordPress Complete Tutorial

Open System, Open Learning

BlogsBlogsForumsForums

PeoplePeople GroupsGroups

Page 170: WordPress Complete Tutorial

BlogsBlogs

Members

Page 171: WordPress Complete Tutorial

BlogsBlogs

ePortfolios

Page 172: WordPress Complete Tutorial

Forums

Page 173: WordPress Complete Tutorial

Blogs

Page 174: WordPress Complete Tutorial

… features – similar to Facebook, Twitter, etc – will probably seem familiar to many.

My philosophy of teaching includes instilling in my students a sense of exploration and play. And dealing with change.

The Buddypress site is an extension of that. In my email to my classes as school starts, I asked them to configure their blogs, get an RSS aggregator and explore the site. Explore is the keyword.

… features – similar to Facebook, Twitter, etc – will probably seem familiar to many.

My philosophy of teaching includes instilling in my students a sense of exploration and play. And dealing with change.

The Buddypress site is an extension of that. In my email to my classes as school starts, I asked them to configure their blogs, get an RSS aggregator and explore the site. Explore is the keyword.

Dr. Michael Stephens on his BuddyPress enabled course sites

Page 175: WordPress Complete Tutorial
Page 176: WordPress Complete Tutorial
Page 177: WordPress Complete Tutorial
Page 178: WordPress Complete Tutorial

Set up a network of sites with WordPress MultiSite

Page 179: WordPress Complete Tutorial
Page 180: WordPress Complete Tutorial
Page 181: WordPress Complete Tutorial

Library Catalogs

Page 182: WordPress Complete Tutorial

“..easy to let library staff at the various libraries contribute articles to the blog, ensuring a lively, regularly updated blog/catalog.”

(isis.pbcantwerpen.be/)

(translated with google translate)

Page 183: WordPress Complete Tutorial
Page 184: WordPress Complete Tutorial

Scriblioscriblio.net

Page 185: WordPress Complete Tutorial

Selected WP Books(There are tons more great ones!)

• Digging into WordPress by Jeff Starr & Chris Coyier (digwp.com)

• Beginning WordPress 3 by Stephanie Leary

• Smashing WordPress by Thord Hedengren

Page 186: WordPress Complete Tutorial

More Help!

• WordPress Codex - http://codex.wordpress.org/

• WordPress Forums - http://wordpress.org/support/

• WordPress FAQ’s - http://codex.wordpress.org/FAQ

• New to WordPress? –tips http://codex.wordpress.org/FAQ_New_To_WordPress