extending word press
DESCRIPTION
Presentation given at WordPress Birmingham April 11thTRANSCRIPT
![Page 1: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/1.jpg)
Extending WordPress Using custom post types, taxonomies and
custom fields
WordPress Birmingham April 2013
![Page 2: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/2.jpg)
Who am I?‣ Web developer / designer
‣ Specialise in WordPress websites (aka WordPress nut)
‣ Organiser of Shropgeek - Shropgeek Rebellion - Shropgeek (R)Evolution
‣ Occasional Speaker
and I ‘~ grin!’ alot
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
![Page 3: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/3.jpg)
WordPress is awesome!
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
![Page 4: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/4.jpg)
WordPress is still awesome!
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
![Page 5: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/5.jpg)
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
What are post types?
Post types are different types of content.
The defaults are:• Post• Page• Attachment• Revision• Navigation Menu
Custom post types are additional content types you can specify.
For example:
• Case Studies• Jobs• Books
More information can be found in the codex: codex.wordpress.org/Post_Types
![Page 6: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/6.jpg)
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
What are taxonomies and custom fields?
Taxonomies are a way to group types of content together.
The defaults are:• Category• Tag• Link Category
Custom fields allow additional information about the content to be specified.
Example custom fields could be:
• Event Date• Location Postcode• Latitude and Longitude of position• Videos• Related content
More information can be found in the codex:
codex.wordpress.org/Taxonomiescodex.wordpress.org/Custom_Fields
![Page 7: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/7.jpg)
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
Quick implementation
Plugins.
![Page 8: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/8.jpg)
Magic Fields 2wordpress.org/extend/plugins/magic-fields-2
Custom Post Type UI / Advanced Custom Fieldswordpress.org/extend/plugins/custom-post-type-ui
advancedcustomfields.com
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
Quick implementation
Plugins.
![Page 9: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/9.jpg)
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
Magic Fields 2wordpress.org/extend/plugins/magic-fields-2
Team Prime - Technologist Recruitmentteam-prime.com
Custom post types for:• Projects• Clients• Jobs• Candidates• Quotes
Some of the custom fields included:
Projects• Related Client• Related Quote
Clients• Related Project (can be duplicated)• Related Quote• Feature on Homepage
Jobs / Candidates• Salary• Company• Location
![Page 10: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/10.jpg)
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
Magic Fields 2wordpress.org/extend/plugins/magic-fields-2
![Page 11: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/11.jpg)
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
Magic Fields 2wordpress.org/extend/plugins/magic-fields-2
![Page 12: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/12.jpg)
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
Magic Fields 2wordpress.org/extend/plugins/magic-fields-2
![Page 13: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/13.jpg)
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
Custom Post Type UI / Advanced Custom Fields wordpress.org/extend/plugins/magic-fields-2
advancedcustomfields.com
Freshtl - Collaboration Softwarefreshtl.com
Custom fields included:
• Main Carousel• Featured Pages on Homepage• Flexible Content
![Page 14: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/14.jpg)
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
Custom Post Type UI / Advanced Custom Fields wordpress.org/extend/plugins/magic-fields-2
advancedcustomfields.com
![Page 15: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/15.jpg)
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
Custom Post Type UI / Advanced Custom Fields
Magic Fields 2VS+ Can be used in query_posts()
- Needs two plugins by different authors to be able to create both custom posts and custom fields
+ Can specify whether custom field displays on all pages / posts or specific post types
+ Can drill down to allow custom fields to only display on specific pages
+ Allows a much wider variety of field types than Magic Fields 2 including flexible content, integration with Gravity Forms
- Can only select a specific field type as repeatable
- Allows conditional logic
+ Can be used in query_posts()
+ Can create and manage custom post types. taxonomies, fields all within the one plugin
+ Can specify whether custom fields display on posts / pages / or specific post types
- Can’t drill down to allow custom fields to only display on specific pages
+ Allows a wide variety of field types including date picker, upload image / media, radio buttons, related content
+ Allows all fields to be repeatable
- Doesn’t offer conditional logic
![Page 16: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/16.jpg)
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
Cue shameless plug ...
Thank you.
![Page 17: Extending word press](https://reader034.vdocuments.mx/reader034/viewer/2022052321/554dc797b4c905c2488b51ac/html5/thumbnails/17.jpg)
• shameless plug!
• 2013.shropgeek-revolution.co.uk
twitter.com/kirstyburgoine
kirstyburgoine.co.uk
WordPress Birmingham
April 2013
Shropgeek presents
(R)Evolution - web conference
2013.shropgeek-revolution.co.uk twitter.com/shropgeek #revolutionconf facebook.com/groups/shropgeek
September 2013