6. Some Data Management
Frustrations
State of the art was a desktop (Windows based)
application
Data was entered and viewed 1 record at a time
I had to be at my computer to see my data
Limited associations between data entities
I could only export some of what was entered
7. My Requirements
See my data anywhere
Manage information for a collection
Customize the data variables
Allow for many photos
Track multiple Entity Types
(with various data variables for each)
Create and view associations between my data
View the entire collection in one output with photos
View the Heritage of any Daylily or Cross
8. The Project
Create an application to manage my Daylily data
Build it in WordPress
Utilize Custom Post Types
Create Fields to capture Post Type specific data
Customize the data entry screens
Create a very visual output
10. Custom Post Type UI
• Used to create new Post Types
and Custom Taxonomy Terms
• Nice interface for setting Post
Type Attributes and Properties
• Sets up Toolbar Menu, Admin List,
Data Entry interface
12. The Relationship Field
Used to associate one post to another
Associations can go across post types
Returns a Post ID or Post Object
Bidirectional
Store data in serialized element a:2:{i:0;s:”23”;i:1;s:”56”;}
14. Admin Columns
Create Multiple Lists per Post Type
Customize Columns Displayed
Include Thumbnails
Filter/Sort by any Column
Inline Edit
Export List to Excel
17. My Requirements
See my data anywhere
Manage information for a collection
Customize the data variables
Allow for many photos
Track multiple Entity Types
(with various data variables for each)
Create and View associations in my data
View the entire collection in one output with photos
View the Heritage of any Daylily or Cross
18. The Front End Views
WP Core Templates
Single Post View
Post Archive View
Taxonomy Views
Customized Pages
Custom Page Templates (php)
24. get_field()
Advanced Custom Fields Function
Lots of documentation and example code
This function is a Chameleon
What is returned depends on context
Value or Array or Post Object
Arguments needed depends on context
Acf field name, post id, post type, etc
(read the documentation carefully!)
26. Why Use WP for Data?
There’s a need for better info management tools
Can be customized for different types of information
Great way to share data
Great documentation and support
Many developers with expertise on this platform
Fabulous community!!
WordCamps and Meetups
27. Resources
gardentracker.com Demo Site
LinkedIn Learning
You Tube
WP Developers Documentation
ACF Documentation
@daylily_daru
daru@gardentracker.com