WordPress 3.x for the sake of your sanity

Preview:

DESCRIPTION

Presented as a pre-conference workshop at HighEdWeb 2010.

Citation preview

a HighEdWeb 2010 workshop

FOR FUN AND PROFITthe sake of your sanityFOR FUN AND PROFIT

TODAY

1. Me, my project, and WordPress2. Features, installation, and setting up the network3. Plugins and customization4. BuddyPress

• Borking sites since 1994.• Since 2005 only Web staff on campus of

~3500 students & 400 faculty/staff. • Fourth year on the HighEdWeb

conference program committee; just chaired regional HEWEB event.

• HigherEdExperts presenter – OpenSource CMS Fair: WordPressMU, April 2010.

• Technical reviewer for Apress book Beginning WordPress 3.0 by Stephanie Leary released in June.

• Launched WPMU in May 2009. Alone.

ME, A NAME I CALL MYSELF

THE PROJECT CIRCA 2005

• Zero dedicated web staff• No budget• 16,000 html files• Rampant duplication

– Headers and navigation files (template)– Images

• 4700 broken links• No search• No site map• No process• No hope• MS FrontPage

WELCOME TO THE JUNGLE BABY

WE’VE ALWAYS DONE IT THAT WAY

THE PROJECT CIRCA 2010

• WordPress 3.0.1• 402 Users• ~ 55 Sites• 5500+ Pages• Site search• Analytics

GETTING HERE

GETTING HERE

1. 2005 - .asp template files. Cleaned up navigation, duplication, and revoked access for all content editors.

2. 2007 - Individual WP installs on external server. Started giving access back to departments.

3. 2009 – WPMU matures with 2.7, install in January, launch with 10 sites in May.

MAJOR WEAKNESSES

– Lacks native reusable content & site-wide internal linking system

– Requires plugins to optimize speed– Critical plugins can conflict or become

unsupported as WP versions advance– Disjointed and incomplete advanced

documentation– Heavy use of pages can be problematic– Lacks native workflow

MAJOR STRENGTHS

– Easy setup & theming– Shallow end-user learning curve– Highly flexible– Huge user community– There’s a plugin for that…– Standard server requirements– Extreme RSS capabilities– Low cost startup

COSTS – YEAR 1

• Premium Themes (supported) - $150• MUSupport.net (paid support forum) - $100• WPMUDev.org - $420/yr or $79/1 month access to

supported premium plugins• GravityForms - $39• Custom plugins - $300• VPS - $45/month• Total ~ $1879

BIG PICTURE

– Supports all basic requirements of our campus– Able to heavily customize each department

independently (themes & plugins)– Rapid deployment– Significant improvements at every major

release. – Possible to implement and admin in single

person office with no internal support and within limited budget

CORE FEATURES

• Posts, pages, links• File uploads• Widgets• 1-click upgrades• Flexible theming

– Custom header & background support

• Accessibility support*

• Custom menus• User management

– Unlimited users• Comments• Trackbacks/Pingbacks• RSS feeds

http://codex.wordpress.org/Version_3.0

• Requirements:– PHP version 4.3 or greater– MySQL version 4.1.2 or greater

• Suggestions:– PHP 5.2+– MySQL 5.0.15– Apache or Nginx

TECHNICAL INFO

INTERMISSION

“THE FAMOUS 5-MINUTE INSTALL”

• No, really. It’s that easy.1) Upload the files2) Create the db3) Run wp-admin/install.php

INSTALL

Initial configuration screen.

INSTALL

Voila!

SETTINGS

General Settings

SECURITY

• Don’t use “admin” username• Don’t use “wp-” db table prefix• Move wp-config.php• Keep WP and plugins current*• Security plugins

– WP Security Scan– WordPress Exploit Scanner– WordPress File Monitor

Source: WordPress Security by Brad Williams

Zombie homepage

THE NETWORK

• Subdirectory vs. subdomain– www.site.edu/subdirectory– subdomain.site.edu

• Users• .htaccess

– Permalinks (mod_rewrite)– Security– Cache (mod_rewrite, file expiration)

• wp-config.php– Pimp your wp-config.php

• /wp-content/blogs.dir

CUSTOM POST TYPES & TAXONOMIES

• Default post types:– Posts, Pages– Attachments– Revisions– Menu Items

• Potential uses– Course descriptions– Media database– Seminar series– Employee Directory

• Default Taxonomies– Categories– Post Tags– Menus– Link Categories

• Potential Uses– Video– People

PRO TIPS

• DO BACKUPS! A lot…for real…not kidding.• Check your error logs regularly.• Plan your plugins, consider expected future

features and your timeline. Sometimes the cleanup isn’t worth it.

• Theme frameworks. You’re welcome.

…NOT TOO DISTANT FUTURE

• Multi-DB• CDN• Multi-domain• Custom post-types/taxonomies• Plugin audit• Custom menus• Content audit, editorial calendar

WORDPRESS QUESTIONS?

Confused?

BUDDYPRESSInstant social network for WordPress

BUDDYPRESS?

• Plugin that adds a social network layer over WordPress.– Groups

• Public• Private

– Blogs• Group• Individual

– Forums– Profiles

• Friends• Status updates• Activity streams• Private messaging

– BuddyPress specific plugins

INSTALL & SETUP

• Plugins > Add New > Search “BuddyPress” > Install

• Choose theme• Activate components• Establish profile fields

COMPONENT SETUP

PROFILE FIELDS

\m/ AWESOME RESOURCES

Sites & Books– The WordPress Bible– Beginning WP 3.0– WPMUDev.org– BuddyPress For Dummies– MUSupport.net– WordPress on LinkedIn

People on Twitter@andrea_r@wpmuguru@sleary@jimgroom@donncha@lisasabinwilson@ohz@yoast