advanced meta data and you wcmpls 2015

5
Dan Beil | @add_action_dan | Alley Interactive Advanced Meta Data and You Going Beyond add_meta_box

Upload: dan-beil

Post on 08-Aug-2015

123 views

Category:

Internet


0 download

TRANSCRIPT

Dan Beil | @add_action_dan | Alley Interactive

Advanced Meta Data and You

Going Beyond add_meta_box

Dan Beil | @add_action_dan | Alley Interactive

Hi, Im Dan Beil- Software Developer at Alley Interactive

- ( WordPress VIP Partner )

- Working with WordPress for ~ 5-6 years- B.S. in Applied Sociology- Dogs

Dan Beil | @add_action_dan | Alley Interactive

What Is Meta DataTraditionally used for additional info about a ‘post’ such as a phone number, Job Title, or product price

○ Most common use is probably a simple text field

Add_post_meta stores info in the post object○ Limited use as stand alone functionality○ https://codex.wordpress.org/Function_Reference/add_post_meta

When used in harmony with taxonomies and CPTs complex data relations become possible.

Dan Beil | @add_action_dan | Alley Interactive

Ways to manage / create Meta Data- Advanced Custom Fields

- popular with many power users and some developers- In the WP.org repo

- CMB2- Used by WebDevStudios (and created by them)- https://github.com/WebDevStudios/CMB2

- Fieldmanager- Used by Alley Interactive (and created by us)- https://github.com/alleyinteractive/wordpress-fieldmanager

Dan Beil | @add_action_dan | Alley Interactive

Github Code

https://github.com/dannyb195/WCMPLS-2015