Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340
CPT for FAQs

Developer's Roundtable Notes

Session: Creating and Using Custom Post Types

Why CPTs?

An easy way to sort special purpose posts.

An easy way to add custom meta fields and re-arrange the edit screen – without affecting post and page edit screens.

Generally, just a cleaner way to add special posts without complicated queries.
(No need to exclude them from your normal blog page.)

Much simpler for clients to understand and manage.

Easy to create custom layout templates.

Category vs. CPT

When do you need a CPT?

Never need to integrate with posts

A completely different display

Need for custom fields

To make it simpler for client

Some Common Uses for CPTs

FAQs

Testimonials

Staff Bios

Restaurant Menu Items

Events / Calendar Items

Recommended Links

 

 

CPT for FAQs


Fatal error: Uncaught Error: Call to a member function id() on array in /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', '<?php\r\n\r\nadd_ac...') #3 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('<?php\r\n\r\nadd_ac...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): Cr in /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36