If you can't read please download the document
Upload
rfair404
View
3.668
Download
0
Embed Size (px)
Citation preview
2. What We'll Cover
3. Use Cases for FEP 4. Turnkey methods for FEP with examples
5. FEP Security Considerations 6. Questions 7.
8. Users spend more time on your site 9. Authors will return to see published content 10. Increases social sharing 11. */wp-admin/ can scare users away and decrease sexyness of your application 12.
13. Niche content platforms or applications that rely on user generated content such as:
14. Company Document Repository 15. Photo Sharing IE6 users 16.
17. TDO Mini Forms
18. Is highly configurable with logic and moderation 19. No Autosave, revisions or wysiwyg :(Gravity Forms
20. Requires additional plug-in or coding to support Custom Post Types and Custom Taxonomies 21. TDO Mini Forms Simple 22. TDO Mini Forms Chaotic 23. Gravity Forms Simple 24. Add Video, the */wp-admin/ way 25. Gravity Forms Custom Post Type 26.
27. Usewp_set_post_terms();to add (and update) taxonomy terms. 28. Useadd_post_meta();to add meta values. 29. Add Image or attachment with wp_insert_attachment(); 30. Front End Form Example (1/2) TitleDescription 31. Front End Form Example (2/2) Tags 32. Processing $_POST (1/2) 34. Updating posts FEP style
35. Update meta values with update_post_meta(); 36.
37. Fuc*ing bad words! 38. Easy to hack if user input is unchecked.
39. Filter post content before saving withwp_kses 40. Be sure to usenoncesto verify intent 41. See CodexData_Validation 42. Resources
43. http://www.gravityforms.com/ 44. http://wordpress.org/extend/plugins/gravity-forms-custom-post-types/ 45. http://codex.wordpress.org/Function_Reference/wp_insert_post 46. http://codex.wordpress.org/Function_Reference/wp_kses 47. http://codex.wordpress.org/Data_Validation 48. http://wpshout.com/wordpress-submit-posts-from-frontend/ 49. Question? 50. Wrap!
51. r @ q21.co 52. Slides @ slideshare . com / rfair / front-end-publishing-for-wordpress