diff --git a/src/functions.php b/src/functions.php index b9c23a2..8a9c795 100644 --- a/src/functions.php +++ b/src/functions.php @@ -3,6 +3,10 @@ /** Theme version */ 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); + /** * Setup Theme */ diff --git a/src/tainacan/archive-terms.php b/src/tainacan/archive-terms.php index 947d1d1..c1fc881 100644 --- a/src/tainacan/archive-terms.php +++ b/src/tainacan/archive-terms.php @@ -78,7 +78,15 @@ - + '; + echo '

' . __('It seems that you are using a legacy vesion of the Tainacan plugin. Please update in order to use the latest features for displaying the terms list.', 'tainacan-interface') . '

'; + echo ''; + } + ?>