Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

Save Your Code:

One Codebase, 9 Blogs with WordPress Multisite Using Sub-domains and Sub-directories

Meeky Hwang

Requirements

Requirements (Cont'd)

9 Site Screenshots

Challenges #1

Mixing Sub-directories and Sub-domains

Solution

Best Practice Tip:
  • APPLICATION_ENV when working in multiple environments

Challenges #2

The Theme

Solution

Code Rewrite, Code Cleanup

Best Practice Tip:
  • Develop with WP_DEBUG flag turned on
  • Remove closing "?>" for pure PHP files

Challenges #3

Custom Development

Solution

Challenges #4

Plug-ins

Solution

Plugins

Disqus

Best Practice Tip:
  • Defer the external library include
  • Leverage wp_enqueue_script(), wp_enqueue_style()
Best Practice Tip:
  • JSON vs XML

Amazon S3

Challenges #5

3rd Party tools

Solution

Social Media

AdUnit

Omniture

Other Stuff

Recap

Recap: Best Practices

Questions?

Plugin Links