Last active
September 28, 2018 17:24
-
-
Save stevengliebe/9235a34e938fc7fc928b to your computer and use it in GitHub Desktop.
Church Content plugin recommended usage. http://churchthemes.com/guides/developer/church-content/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Sermons | |
add_theme_support( 'ctc-sermons', array( | |
'taxonomies' => array( | |
'ctc_sermon_topic', | |
'ctc_sermon_book', | |
'ctc_sermon_series', | |
'ctc_sermon_speaker', | |
'ctc_sermon_tag', | |
), | |
'fields' => array( | |
'_ctc_sermon_has_full_text', | |
'_ctc_sermon_video', | |
'_ctc_sermon_audio', | |
'_ctc_sermon_pdf', | |
), | |
'field_overrides' => array() | |
) ); | |
// Events | |
add_theme_support( 'ctc-events', array( | |
'taxonomies' => array( | |
'ctc_event_category', | |
), | |
'fields' => array( | |
'_ctc_event_start_date', | |
'_ctc_event_end_date', | |
'_ctc_event_start_time', | |
'_ctc_event_end_time', | |
'_ctc_event_hide_time_range', | |
'_ctc_event_time', // time description | |
'_ctc_event_venue', | |
'_ctc_event_address', | |
'_ctc_event_show_directions_link', | |
'_ctc_event_map_lat', | |
'_ctc_event_map_lng', | |
'_ctc_event_map_type', | |
'_ctc_event_map_zoom', | |
'_ctc_event_registration_url', | |
), | |
'field_overrides' => array() | |
) ); | |
// People | |
add_theme_support( 'ctc-people', array( | |
'taxonomies' => array( | |
'ctc_person_group', | |
), | |
'fields' => array( | |
'_ctc_person_position', | |
'_ctc_person_phone', | |
'_ctc_person_email', | |
'_ctc_person_urls', | |
), | |
'field_overrides' => array() | |
) ); | |
// Locations | |
add_theme_support( 'ctc-locations', array( | |
'taxonomies' => array(), | |
'fields' => array( | |
'_ctc_location_address', | |
'_ctc_location_show_directions_link', | |
'_ctc_location_map_lat', | |
'_ctc_location_map_lng', | |
'_ctc_location_map_type', | |
'_ctc_location_map_zoom', | |
'_ctc_location_phone', | |
'_ctc_location_email', | |
'_ctc_location_times', | |
), | |
'field_overrides' => array() | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment