diff --git a/src/functions.php b/src/functions.php index bf7d1ef..77ba43a 100644 --- a/src/functions.php +++ b/src/functions.php @@ -4,8 +4,11 @@ const TAINACAN_INTERFACE_VERSION = '2.6'; /* Disables Tainacan Theme Helper the_content filter, which is used to build a custom item and taxonomy (terms list) template. */ -define('TAINACAN_DISABLE_ITEM_THE_CONTENT_FILTER', true); -define('TAINACAN_DISABLE_TAXONOMY_THE_CONTENT_FILTER', true); +if ( !defined('TAINACAN_DISABLE_ITEM_THE_CONTENT_FILTER') ) + define('TAINACAN_DISABLE_ITEM_THE_CONTENT_FILTER', true); + +if ( !defined('TAINACAN_DISABLE_TAXONOMY_THE_CONTENT_FILTER') ) + define('TAINACAN_DISABLE_TAXONOMY_THE_CONTENT_FILTER', true); /** * Setup Theme