Support » Plugin: Church Content - Sermons, Events and More » add_theme_support not honored

  • Resolved serranoabq

    (@serranoabq)


    I have a custom theme that supports this plugin and I use add_theme_support to customize what taxonomies and fields are available (per the developer guide). After updating to 2.0, these are not being honored; all taxonomies are displayed. Is there a new change in how to customize the taxonomies and fields with v2.0?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Steven Gliebe

    (@stevengliebe)

    This is not something that should be affected by the update.

    1. Please confirm by downgrading to a version before 2.0.

    2. You can share the code and I’ll see if I can spot anything.

    serranoabq

    (@serranoabq)

    1. I have v1.8 installed on my live site and it works as intended. On my staging site I have 2.0.1 and it shows all fields and taxonomies. The only difference between them was the Gutenberg plugin, but after deactivating it the issue persists.
    2. The code is fairly simple

    add_theme_support( 'ctc-sermons', array(
      'taxonomies' => array(
        'ctc_sermon_series',
        'ctc_sermon_speaker',
      ),
      'fields' => array(
        '_ctc_sermon_video',
        '_ctc_sermon_audio',
      ),
      'field_overrides' => array()
    ) );
    Plugin Author Steven Gliebe

    (@stevengliebe)

    Thank you, I can confirm this as a bug introduced in version 2.0. We’ll work on getting this fixed. Thank you for reporting it.

    Plugin Author Steven Gliebe

    (@stevengliebe)

    This has been fixed in version 2.1, released today. Please update via Dashboard > Updates and let me know if you still see a problem.

    Changes: https://github.com/churchthemes/church-theme-content/releases/tag/2.1

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘add_theme_support not honored’ is closed to new replies.