the power of the wordpress editor

Download The Power of the WordPress Editor

Post on 15-Apr-2017

155 views

Category:

Internet

0 download

Embed Size (px)

TRANSCRIPT

  • THE POWER OF THE WORDPRESS EDITOR

    KYLE LAVERTY

  • THE POWER OF THE WORDPRESS EDITOR

    INTRODUCTION

    Who Am I?

    Laverty Creative - http://lavertycreative.comhttp://kylelaverty.com

    Father/Stepfather of 5 children and 2 pups

    Follow me @LavertyCreative or @lavekyl

  • THE POWER OF THE WORDPRESS EDITOR

    WHAT THIS IS ALL ABOUT AND WHY

    Custom post-types are often overused in WordPress. Their usage makes sense in a lot of cases, including for customized sections of websites. But they are often not necessary.

    Because of their overuse I aim to show an alternative way to display content similar to that of custom post-types, but by using the power of the WordPress editor.

  • THE POWER OF THE WORDPRESS EDITOR

    WHAT IS A POST TYPE?

    Post-types are different types of content in WordPress. Some of the default post-types are

    Posts

    Pages

    Attachments

    Revisions

    Navigation Menus

    Each have their own parameters that define how they will be displayed.

  • THE POWER OF THE WORDPRESS EDITOR

    WHAT IS A CUSTOM POST-TYPE?

    Custom post-types are new content types that you create using the register_post_type() function or using a plugin like CPT UI. You determine the parameters such as use of categories, an archive page, etc. Here is a basic example

  • THE POWER OF THE WORDPRESS EDITOR

    WHEN TO USE A CUSTOM POST-TYPE

    When you have a lot of content that you want to separate from posts and pages, and/or if you want to make it easy for clients to manage different types of content.

    Examples

    Movie Reviews

    Resources

    Events

    Slides (the exception to lots of content)

  • THE POWER OF THE WORDPRESS EDITOR

    WHEN YOU DONT NEED A CUSTOM POST-TYPE

    When you dont have much content. Using one is fine if you are making customizations, but maybe a plugin would be better suited for that (ACF or CMB2 anyone?).

    Examples

    Process

    Services

    Projects (recent or featured)

  • THE POWER OF THE WORDPRESS EDITOR

    WHY DOES THIS MATTER?

    Creating a custom post-type for a small amount of content is like Garth Brooks playing baseball its just not necessary (but at least he tried, so props to him for that). As an alternative, use plugins if you want something special.

  • THE POWER OF THE WORDPRESS EDITOR

    WHY USE THE WORDPRESS EDITOR?

    Some developers are cringe over use of the WordPress editor, but it has the functionality you are looking for and WordPress provides it for you to use. So dont reinvent the wheel. Embrace the power.

  • THE POWER OF THE WORDPRESS EDITOR

    GREAT EXAMPLES OF THE EDITORS POWER

    Here are some examples of embracing the power of the editor from other developers, including myself.

    Jared Atchison - http://www.jaredatchison.com/services/

    Nathan Swartz - https://clicknathan.com/design/

    Kyle Laverty (thats me!) - http://lavertycreative.com/work/

    http://www.jaredatchison.com/services/https://clicknathan.com/design/http://lavertycreative.com/work/

  • THE POWER OF THE WORDPRESS EDITOR

    BEHOLD THE POWER OF THE WORDPRESS EDITOR

    The keys to make it happen are already built in

    Alignments (alignleft, alignright)

    Headings

    Line breaks

  • THE POWER OF THE WORDPRESS EDITOR

    FINAL THOUGHTS ON CUSTOM POST-TYPES

    Custom post-types are great! But dont overdo it. If you dont have the need to create a custom section for it, or the content to create a bunch of custom posts just keep it simple and embrace the power.

  • THE POWER OF THE WORDPRESS EDITOR

    FINAL THOUGHTS ON THE WORDPRESS EDITOR

    Dont underestimate what the editor is capable of accomplishing. It has built-in functionality for you to use to your advantage. Youd be surprised what you can accomplish with some alignlefts and alignrights.

  • THE POWER OF THE WORDPRESS EDITOR

    RECAP

    Custom post type overuse

    Still a good idea

    Dont reinvent the wheel

    Keep it simple

    Embrace the power

  • THE POWER OF THE WORDPRESS EDITOR

    THANK YOU!

  • QUESTIONS ?