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

26
pods.io pods.io Grow Beyond Posts & Pages Introduction to the Pods Framework

Upload: podsframework

Post on 03-Aug-2015

37 views

Category:

Internet


1 download

TRANSCRIPT

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

pods.iopods.io

Grow Beyond Posts & Pages

Introduction to the Pods Framework

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

pods.iopods.io

Jim True, @jimtrue

Project Manager& Support Lead,Pods Framework, @podsframework

http://pods.io

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

pods.iopods.io

Our Story Begins with YOU, a WordPress Developer

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

pods.iopods.io

Our Story Begins with YOU, a WordPress Developer

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

pods.iopods.io

You have a few Local Websites

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

pods.iopods.io

Then they start GROWING...

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

pods.iopods.io

You could just add some PAGES...● Too much maintenance● Too easy to make mistakes● Lacks good SEO and really isn’t

WordPress

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

pods.iopods.io

OR You could find a PLUGIN...● Too much overhead● Too hard to make it match your

theme● Too hard to train your users

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

pods.iopods.io

Custom Post Types to the Rescue!● This is what WordPress is GREAT

at● Managing Content in a Consistent

&Reliable Way

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

pods.io

Pods makes this easy & logical• Add your Pod (Build it) in the Same Familiar

Interface

• Link Pod to Pod (Relationships)

• Change Fields & Pods on the Fly, if need more fields or relationships

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

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

pods.io

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

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

pods.io

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

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

pods.io

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 your

Content Strategy

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

pods.iopods.io

GYM Content Model

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

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

pods.iopods.io

SALON Content Model

● 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.

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

pods.io

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

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

pods.iopods.io

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.

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

pods.io

Installing Pods

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

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

Also grab, Pods Frontier Auto Templates:https://wordpress.org/plugins/pods-frontier-auto-template/

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

pods.io

Building with Pods1. Build your Custom Post Types with Pods

- Add Fields- Add Custom Taxonomy if needed- Add any Relationships between Pods (other Post types)

2. Populate your Pods- Using the WordPress Admin screens, no training needed

3. Prototype the Display of your Pods- Using Pods Templates- Activated under Pods Admin, Components, Templates

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

pods.io

Using Pods Templates

Blend of HTML with “Magic Tags”, ex:{@field_name}{@related_field.field_in_other_pod}

Can also use Conditional Tags like:[each][/each][if][else][/if]

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/

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

pods.iopods.io

DEMO

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

pods.io

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 your who’s working on a given day.

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

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

pods.io

Multiple Ways to Work with Pods

• WordPress Theme Hierarchy

• WordPress Meta Functions & the Loop

• Pods API (Find, Fetch, Field & Display)

• Pods JSON API (REST API under Development)

• Plugins: Conductor, CalderaWP Easy Pods, other plugins that work with default WordPress Custom Post Types

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

pods.io

How to get Help with Pods

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

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

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

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

pods.iopods.io

We are a FREE Plugin (no paywall)

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

pods.iopods.io

Thank You!

WordPress Tampa Bayhttp://www.meetup.com/Tampa-Bay-WordPress/

WordCamp Tampa 2015September 25-27

USF Marshall Student Centerhttp://tampa.wordcamp.org