Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Advanced Custom Fields - Beyond the Basics

Slides from my 2014 WordCamp Seattle and WordCamp Vancouver presentations.

  • Als Erste(r) kommentieren

Advanced Custom Fields - Beyond the Basics

  1. 1. Advanced Custom Fields Beyond the Basics
  2. 2. Merrill M. Mayer Kool Kat Web Designs Seattle, WA USA --------------------------------- koolkatwebdesigns.com merrill.mayer@yahoo.com --------------------------------- @koolkatweb
  3. 3. Overview  Custom Queries  Custom Previous and Next Post Functionality  Custom Dashboard Presentation  Speaker Program: http://bbrc.net/speakers/
  4. 4. Speaker Date Custom Field
  5. 5. Speaker Program Grid View
  6. 6. Query Parameters post_type => rotary_speakers posts_per_page => -1 orderby => meta_value meta_key => speaker_date More information on the grid can be found at http://www.koolkatwebdesigns.com/wordcamp-seattle- 2014-speaker-program-custom-grid-and-advanced- search/.
  7. 7. Speaker Program Single View
  8. 8. Filters for Next and Previous Links add_filter('get_previous_post_join', 'rotary_post_join'); add_filter('get_next_post_join', 'rotary_post_join'); add_filter('get_previous_post_where', 'rotary_prev_post_where'); add_filter('get_next_post_where', 'rotary_next_post_where'); add_filter('get_previous_post_sort', 'rotary_prev_post_sort'); add_filter('get_next_post_sort', 'rotary_next_post_sort'); add_filter('next_post_link', 'rotary_filter_next_post_link'); add_filter('previous_post_link', 'rotary_filter_previous_post_link'); Full implementation at: http://www.koolkatwebdesigns.com/wordcamp-seattle-2014-custom- prev-and-next-post-filters/
  9. 9. Speaker Dashboard Summary
  10. 10. Dashboard Filters and Actions add_filter('manage_rotary_speakers_posts_columns' , 'rotary_speakers_cpt_columns'); add_action( 'manage_rotary_speakers_posts_custom_column' , 'rotary_custom_speaker_column_data', 10, 2 ); add_filter('manage_edit-rotary_speakers_sortable_columns', 'rotary_column_register_sortable'); add_filter( 'request', 'rotary_speaker_column_orderby' ); Full implementation at: http://www.koolkatwebdesigns.com/wordcamp-seattle-2014- speaker-program-dashboard-filters/
  11. 11. Thank You

×