39
HOW TO ENSURE A LONG LIFE SPAN FOR A WEBSITE? WordPress Meetup Teemu Suoranta

How to ensure a long life span for a website?

Embed Size (px)

Citation preview

Page 1: How to ensure a long life span for a website?

HOW TO ENSUREA LONG LIFE SPANFOR A WEBSITE? WordPress Meetup

Teemu Suoranta

Page 2: How to ensure a long life span for a website?

HI, I’M TEEMU

• Web developer at Aucor

• Organizer at Turku WordPress Meetup

• Twitter: @teemusuorantaWPFI Slack: @teemusuoranta

Page 3: How to ensure a long life span for a website?

WHY CARE ABOUTLIFE SPAN?

• It’s your job to create quality websites

• Bad design and implementation locks content to current design and technology

• “You gonna carry that weight a long time”

• Frequent redesigns cost much

Page 4: How to ensure a long life span for a website?

GOALS

1. Design will change, content will remain

2. Technology will change, content will remain

3. Needs will change, content must adapt

Page 5: How to ensure a long life span for a website?

NOT OUR GOALS

1. No changes needed: “perfect website”

2. Never rebuilding the whole site

3. Solve everything with technology

Page 6: How to ensure a long life span for a website?

1. FOUNDATION

(NOT THE CSS FRAMEWORK)

Page 7: How to ensure a long life span for a website?

THE PURPOSE• Why does this website exist? / What is the goal

of this website?

• Who is the target audience?

• How do we know that website is doing it’s job?

• Let everybody in the project know these answers!

Page 8: How to ensure a long life span for a website?

PURPOSE GUIDES

• Content: what is important, what needs to be told

• Design: what is important, how to encourage users to act…

• Development: where to focus, what to implement now, where things will go from here…

Page 9: How to ensure a long life span for a website?

EXAMPLE• Purpose: generate sales leads

• Evaluation: number of relevant contacts

• Content: give enough information about products, target message to certain audience, encourage users to contact…

• Design: encourage users to contact, create clear calls to action

• Development: Track conversions, focus on purpose…

Page 10: How to ensure a long life span for a website?

HARSH REALITY

• Purpose: we need a website

• Evaluation: ???

• Content: “this company was founded in 1996…”

• Design: copy from competitor

• Development: here’s a PSD

Page 11: How to ensure a long life span for a website?

2. CONTENT & STRUCTURE

Page 12: How to ensure a long life span for a website?

WHAT TO DEFINE?

• Kinds of content: articles, products, blog posts…

• How content is grouped and linked: archives, categories, tags, related posts…

• Main menu items, sitemap

• No need of technical knowledge!

Page 13: How to ensure a long life span for a website?

WHO DEFINES?

• Client: always

• Project manager / Designer: should

• Developer: decides implementation (content types, taxonomies…), may attend

Page 14: How to ensure a long life span for a website?

IF YOU SKIP THIS…

• Designer will guess the structure

• Developer builds it based on developer’s guesses

• Site won’t be flexible enough / has functionality client doesn’t need

Page 15: How to ensure a long life span for a website?

3. CONTENT & WORDPRESS

Page 16: How to ensure a long life span for a website?

DON’T MESS THIS UP!

Page 17: How to ensure a long life span for a website?

CONTENT EDITOR IS FOR CONTENT!

Page 18: How to ensure a long life span for a website?

KEEP THESE OUT OF CONTENT

• Meta: author, published, excerpt…

• Categories, tags and similar

• Layouts: columns, grids…

• Styling: colors, font sizes…

Page 19: How to ensure a long life span for a website?

PAGE BUILDERSARE BAD, M’KAY?

• You are now married with that page builder forever

• Content is locked: tons of shortcodes

• No separation of design and content

• Also: complex, badly optimised, often hard to use

• (Some may still find them useful in some occasions)

Page 20: How to ensure a long life span for a website?

META SHOULD BE META

• Can be styled, positioned and used any way now and in future

• WP built-in meta fields

• Better UI with: ACF, CMB2,ButterBean…

Page 21: How to ensure a long life span for a website?

TAXONOMIES FOR FILTERING AND GROUPING

• Taxonomies: categories, tags, city, department…

• The most powerful way to group and filter posts

• Numeric taxonomies are hard :(

• Meta or taxonomy?

Page 22: How to ensure a long life span for a website?

LAYOUTS & STYLES

• Theme should handle these

• Exceptions with different page layouts, text styles, shortcodes…

• Do you need columns?

Page 23: How to ensure a long life span for a website?

[SHORTCODES]

• Good:

• Great power: [gallery ids=“1,2”], [recent-posts tag=“WordPress”]

• Style, logic and markup can be changed

• Bad:

• Overuse (page builders)

• You have to keep supporting or remove them!

• UI? (Shortcake)

Page 24: How to ensure a long life span for a website?

ADMIN UI MATTERS

• Why clients love WordPress?

• Bad UI → not used → content not updated

• Keep it clean, simple and informative!

Page 25: How to ensure a long life span for a website?

4. IMAGES &WORDPRESS

Page 26: How to ensure a long life span for a website?

IMAGE SIZES• By default WordPress creates multiple versions of uploaded images

• You can add as many image sizes as you want

• You can modify the default sizes

• Sizes are generated when uploaded

• If you add image sizes later on, you have to regenerate old images

• WP-CLI or Force Regenerate Thumbnails

Page 27: How to ensure a long life span for a website?

SOFT & HARD CROP

Original2000 x 1333

Soft crop500 x 500

“Fit these bounds”

Hard crop500 x 500“Be this size”

Page 28: How to ensure a long life span for a website?

HARD CROPS: DESIGN FIRST, CONTENT SECOND

• Affects what kind of images are chosen

• Art direction can break when changing this image size later

• Avoid if possible!Image locked to design

Page 29: How to ensure a long life span for a website?

HARD CROP THAT DOESN’T SUCK

• “419 x 274” doesn’t mean anything and it’s copied straight from lazy designer’s PSD file

• Make sizes based on commonly used aspect ratios: 1:1, 16:9, 4:3…

• If you later need to make it bigger or smaller, scaling looks good and the art direction won’t change

Page 30: How to ensure a long life span for a website?

A WAY AROUND HARD CROPS

• Designs often need images to be certain width or height

• You can make a soft cropping size like “300 x 2000”

• Result: image will be 300 pixels wide and as tall as it is scaled

Page 31: How to ensure a long life span for a website?

SHOULD YOU BE ABLE TO ADJUST THE CROP?

• Full control of art direction :)

• Problems with size regeneration: stuck with current sizes :(

Page 32: How to ensure a long life span for a website?

5. KEEP THINGS MOVING

Page 33: How to ensure a long life span for a website?

WORDPRESS AGES WELL

• Backwards compability: updates won’t force rebuilding (Drupal)

• Extendability: can adapt to different needs

• GPL license: if plugin developer quits, you can continue the development (or in any case)

Page 34: How to ensure a long life span for a website?

UPDATES

• You should do them.

Page 35: How to ensure a long life span for a website?

(KEEPING THINGS MOVING)NEEDS RESOURCES

• Client: budget, time, energy, interest…

• Designer: additional design / style guide

• Communication: changes, additions…

Page 36: How to ensure a long life span for a website?

CLIENT CAN MESS IT UP, SORRY

• Nobody updates content

• New purpose for website

• No budget for development

• No communication?

Page 37: How to ensure a long life span for a website?

CONCLUSION

Page 38: How to ensure a long life span for a website?

HOW TO ENSURE A LONG LIFE SPAN FOR A WEBSITE?

1. Purpose

2. Content first

3. Implement content wisely

4. Keep things moving

Page 39: How to ensure a long life span for a website?

THAT’S ALL, FOLKS!@teemusuoranta