Content: 1. Reusable content – Content developed to maximize reuse – Different formats/types available 2. Structured content – Discrete chunks can be combined in different ways on different platforms 9 http://www.abookapart.com/products/content-strategy-for-mobile
Design decisions made by platform based on rules, not by authors 4. Meaningful metadata – Metadata which can be used by the platform to drive presentation rules 5. Usable CMS interfaces – UI and workflow to encourage well structured and metadata-enhanced content 10
WordPress, we need more: • Custom Post Types – Not just “pages” and “posts” – Complex content types • Custom Taxonomies – Sort, categorize, relate • Custom Meta Data – More boxes for granular data 13
control: • What to call it (Labels) • Where to show it – Public, Show UI, Searchable, has_archive – Menu position • Who can use it (capabilities) • What it includes (supports) http://codex.wordpress.org/Function_Reference/ register_post_type
other meta boxes is similar: – add_meta_box() passed a styling function – style function outputs the html needed – save function added to save_post action – update_post_meta to store 34
not search custom post meta data – This means secondary html areas – http://wordpress.org/extend/plugins/ relevanssi/ or other search • Display – You’ve customized the content so you can’t rely on <?php the_content() ?> 36
• Find the tradeoff – More structure = more complexity – Less structure = less flexibility • Focus on goals – why before how • Go forth and structure content! 38