Your SlideShare is downloading. ×
0
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

"Extending Functionality Through Custom Fields" - Minneapolis WordCamp 2010

744

Published on

Tim Schoffelman's presentation from Minneapolis WordCamp 2010: "Extending Functionality Through Custom Fields."

Tim Schoffelman's presentation from Minneapolis WordCamp 2010: "Extending Functionality Through Custom Fields."

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
744
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Introduction TIM SCHOFFELMAN - DEVELOPER -- CURRENT -- PAST www.WordCampMSP.org - SCHOFFELMAN.COM Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 2. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Custom Fields Definition The Codex describes Custom Fields as giving WordPress "the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known www.WordCampMSP.org as meta-data”. Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 3. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields History www.WordCampMSP.org Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 4. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Case Study: Dice Best Job Ever Campaign - Custom Fields - Persistent once created (w/ exception)* - Video - CDN - Public Posts - Custom Post Type for 3.0.x+ www.WordCampMSP.org Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 5. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Case Study: Dice Best Job Ever Campaign - Public Post - History - Abilities & Freedom www.WordCampMSP.org Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 6. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Case Study: Dice Best Job Ever Campaign - Coming Soon - Dice Job Type - Dice RSS - First Name - Job Title - Video Thumb - Video Tracking URL www.WordCampMSP.org - Video URL Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 7. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Custom Post Type - Definition - Resources - Dice Best Job Ever www.WordCampMSP.org Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 8. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Custom Fields - Forwarding URL - get_post_meta( $post->ID, ‘forward_url’, true); - Public Posts & their Custom Fields www.WordCampMSP.org Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 9. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Use with Front End Themes - dice_home.php - dice_int_sidebar.php - dice_video_player.php - dice_widget.php www.WordCampMSP.org Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 10. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Use with Flash Ad Units - functions.php - include_file.php www.WordCampMSP.org Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 11. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Use with Widgets - functions file author_widget.php - includes file author_widget.php www.WordCampMSP.org Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 12. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Tips & Tricks - If I need to customize the feed for a separate app to consume (like a flash file), I’ll create a separate feed file to customize, leaving the original alone - I typically will create a separate folder for files that control core theme functionality and name it functions - Also, I’ll usually do the same for items I need to display on the or within the theme template or feed, which will be called includes - All code from the Guest Author example can be downloaded at GitHub - https://github.com/schoffelman/WordCamp- MSP www.WordCampMSP.org Follow Tim Schoffelman @SilentGapMonday, November 15, 2010
  • 13. Tweet about this session #WordCampMSP!!! Extending Functionality Through Custom Fields Q&A History www.WordCampMSP.org Follow Tim Schoffelman @SilentGapMonday, November 15, 2010

×