grow beyond posts & pages: an introduction to the pods framework, a content management framework...

38
Grow Beyond Posts & Pages Introduction to the Pods Framework A Content Development Framework for

Upload: podsframework

Post on 14-Apr-2017

230 views

Category:

Internet


3 download

TRANSCRIPT

Page 1: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Grow Beyond Posts & Pages

Introduction to the Pods FrameworkA Content Development Framework for

Page 2: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Jim True, @jimtrueSupport Lead,

Community & Project Manager @podsframework

http://pods.io

Page 3: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Our Story Starts with YOU, a WordPress Developer

Page 4: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Our Story Starts with YOU, a WordPress Developer

Page 5: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

You have a few Local Websites

Page 6: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Then they start GROWING...

Page 7: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

You could add more PAGES...● Too much maintenance● Too easy to make mistakes● Duplicating content over and over● Lacks good SEO and really isn’t the

“WordPress Way”

Page 8: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Or you could find a PLUGIN...● Too much overhead and maintenance● Too hard to match your theme● Too hard to train your users because each

one has a different interface

Page 9: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

What IF...You could just enter your stuffONCE on the back-end and place it where you wantANYWHERE on the site?

Page 10: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Pods to the RESCUE!

Page 11: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Pods makes this easy & logical• Add Custom Post Types & Taxonomies as Pods

without any Coding• Add Custom Fields to those Pods• Link Pod to Pod (Relationships)• Change Fields & Pod definitions on the Fly, if you

need more fields or new relationships between other Pods

• Extend existing Post Types: Users, Media, Comments, Posts, Pages… even Custom Post Types from other Plugins!

Page 12: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

The Pods Process

The Four P’s:• Plan your Pods based on your Content Strategy• Pods it! Create your Pods based on your Data Model• Populate your Pods with your data• Prototype the output with Pods Templates

Page 13: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

What is a Custom Post Type?Posts, Pages, Media & Menu Items are ALL Post Types:

?post_type=post?post_type=page?post_type=attachment?post_type=nav_menu_item

From the WordPress Codex:https://codex.wordpress.org/Post_Types

Plan

Page 14: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

CONTENT is the KEY• Think of the DATA you’re trying to represent

in a Logical, Structural way• You’re looking at it as usable, searchable,

organizedCONTENT

• You also don’t want to enter ANYTHING more than once.

Plan

Page 15: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Content Strategy

Thinking (and Planning) the Content you’ll use for your Website presented in a usable way for your users, their clients and the web (SEO)

Plan

Page 16: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

CONTENT Modeling & Strategy

• How you structure your Data for presentation & organization is Content Modeling

• How you use it and interact with it and how your audience will use it on your site defines yourContent Strategy

Plan

Page 17: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

GYM Content Model

● Address● City● State● GeoCode (for Maps)● Phone #● Gym Manager

Plan

Page 18: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

SALON Content Model

● Name● Bio● Picture

● Service Name

● Description● Price● Picture

Plan

Page 19: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

MUSEUM Content Model

● Event Date● Event Name● Description● EventBrite URL

Plan

Page 20: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Installing Pods

From WordPress.org:https://wordpress.org/plugins/pods/

From GitHub Repo [Latest!]:https://github.com/pods-framework/podshttp://pods.io/latest/

Pods it!

Page 21: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Building with Pods (Pods it!)

1.Create your Custom Post Types with Pods2.Add Custom Fields to the Pods3.Optionally: Add Relationships Pod to Pod &/or

Custom Taxonomy4.Populate your Pods

- Using the WordPress Admin screens- No training needed for your end users

Pods it!

Page 22: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

DEMOCreating Pods

Pods it!& Populate

Page 23: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

RelationshipsWith Pods you can create Relationships between Custom Post Types, Taxonomies, Users, Anything

• Staff to Services (1 staff multiple Services 1-M)

• Appointment to Staff (1 Appt - 1 Staff 1-1)• Students to Classes (Many Students can

register for Multiple Classes M-M )Pods allows you to display and reference related content together in multiple ways.

Plan

Page 24: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

SALON Content Model w/Relationships

● Name● Bio● Picture● SERVICES

● Service Name

● Price● Picture● STAFF

There is a RELATIONSHIP between Staff & Services. Each Staff member can perform multiple Services. Each Service can be performed by multiple Staff.

Plan

Page 25: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

DEMORelationships

Page 26: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

What is a Custom Taxonomy?Taxonomy is just a fancy name for a System of Classification

• Species > Sub-Species > Family, etc. Used in Anatomy

• WordPress: Categories & Tags• Gym: Class > Class Type (Group Fitness,

Aerobic)• Salon: Services > Service Type (Hair, Nails,

Facial)• Franchise: Locations > Region (City, State)From the WordPress Codex:https://codex.wordpress.org/Taxonomies

Plan

Page 27: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

MUSEUM Content Model

● Event Date● Event Name● Description● EventBrite URL● Event Type [Taxonomy]

Event Type is ASSOCIATED with the Calendar Post Type as a Custom Taxonomy. It will be used to Classify the events: Art Shows, Receptions, Openings, etc.

Plan

Page 28: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

DEMOCustom Taxonomy

Page 29: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Pods Templates• Activated under Pods Admin, Components,

Templates• Provides a Template Editor for Creating re-

usable ‘content’ blocks to display your Pods Data

• You can then use these Pods Templates with the Pods Shortcode, Pods Widgets or with Auto Templates

Prototype

Page 30: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Magic Tags

Blend of HTML with “Magic Tags”, ex:Custom Field: {@field_name}Relationship: {@related_field.field_in_other_pod}Taxonomy Object: {@taxonomy-type.name}WordPress Object: {@post_title}, {@post_thumbnail}

Example:<a href=”{@permalink}”>{@post_title}</a>

Prototype

Page 31: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Template TagsCan use Conditional Tags like:[each][/each][if][else][/if]

Example: [each staff_member] <li>{@staff_name} - {@phone_number}</li>[/each]

For Reference:http://pods.io/docs/build/using-magic-tags/http://pods.io/docs/build/special-magic-tags/http://pods.io/docs/build/template-tags-in-pods-templates/

Prototype

Page 32: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Displaying Pods w/Templates

• Pods Shortcode[pods name=”staff” template=”Staff List”]

• Pods WidgetsPods - Single Item, List Item, Field Value or Form

• Auto TemplatesActivated under each Edit Pod Screen, tab ‘Auto Templates’Uses the_content filter to display your Pods Template within the theme.

Prototype

Page 33: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

DEMOPrototype with Pods Templates

Page 34: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

What else can you do with Pods?• Custom Settings Pages

Useful for adding Customizer ‘like’ settings for adding content the user will manage but you don’t want them to mess up the style (ie, Business Hours, Social Links)

• Extending UsersUseful for when a Staff Directory needs to link to the user’s of your website, so you don’t have to enter data twice or you want to show who’s working on a given day.

Page 35: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

What else can you do with Pods?

• Extending MediaGreat for categorizing your Media Library or for associating certain images to other post types for easy gallery display

• Extending Other PluginsMaybe you need additional fields for WooCommerce Products or Variations and don’t want to buy an extension or you need to ‘link’ Products to Users (like an Etsy store)

Page 36: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

Multiple Ways to Work with Pods• WordPress Theme Hierarchy (

http://wphierarchy.com)• WordPress Meta Functions & the Loop• Pods API (Find, Fetch, Field & Display)• Pods REST API (under Development)• Plugins: Conductor, Easy Pods, FacetWP, Gravity

Forms any many other plugins that work with default WordPress Custom Post Types & Taxonomies

Page 37: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

How to get Help with Pods

On our Website:http://pods.io/forums/

On Slack Chat:http://pods.io/chat/ http://podswp.slack.com #support

On WordPress.org:http://wordpress.org/support/plugin/pods/

Page 38: Grow Beyond Posts & Pages: An Introduction to the Pods Framework, a Content Management Framework for WordPress

We are a FREE Plugin (no paywall)