Skip to content

Instantly share code, notes, and snippets.

@stevengliebe
Last active September 28, 2018 17:24
Show Gist options
  • Select an option

  • Save stevengliebe/9235a34e938fc7fc928b to your computer and use it in GitHub Desktop.

Select an option

Save stevengliebe/9235a34e938fc7fc928b to your computer and use it in GitHub Desktop.

Revisions

  1. Steven Gliebe revised this gist Sep 28, 2018. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions ctc-recommended.php
    Original file line number Diff line number Diff line change
    @@ -30,8 +30,6 @@
    '_ctc_event_end_time',
    '_ctc_event_hide_time_range',
    '_ctc_event_time', // time description
    '_ctc_event_recurrence',
    '_ctc_event_recurrence_end_date',
    '_ctc_event_venue',
    '_ctc_event_address',
    '_ctc_event_show_directions_link',
  2. Steven Gliebe revised this gist Sep 1, 2017. No changes.
  3. Steven Gliebe revised this gist Jun 13, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ctc-recommended.php
    Original file line number Diff line number Diff line change
    @@ -39,6 +39,7 @@
    '_ctc_event_map_lng',
    '_ctc_event_map_type',
    '_ctc_event_map_zoom',
    '_ctc_event_registration_url',
    ),
    'field_overrides' => array()
    ) );
  4. Steven Gliebe revised this gist Nov 20, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ctc-recommended.php
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ```php
    <?php

    // Sermons
    add_theme_support( 'ctc-sermons', array(
  5. Steven Gliebe revised this gist Nov 20, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ctc-recommended.php
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    <?php
    ```php

    // Sermons
    add_theme_support( 'ctc-sermons', array(
  6. Steven Gliebe revised this gist Nov 20, 2015. No changes.
  7. Steven Gliebe created this gist Nov 20, 2015.
    75 changes: 75 additions & 0 deletions ctc-recommended.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,75 @@
    <?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_recurrence',
    '_ctc_event_recurrence_end_date',
    '_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',
    ),
    '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()
    ) );