This must be added to wp-config.php.
/* PODS & Divi */
define(‘PODS_SHORTCODE_ALLOW_SUB_SHORTCODES’,true);
define(‘PODS_SHORTCODE_ALLOW_EVALUATE_TAGS’,true);
Then add this snippet to the functions.php file of your child theme or feature plugin.
<?php
/*------------------------------------------*/
// Allow Pods Templates to use shortcodes
/*------------------------------------------*/
/* NOTE: Will only work if the constant PODS_SHORTCODE_ALLOW_SUB_SHORTCODES is defined and set to
true, which by default it IS NOT. */
add_filter( 'pods_shortcode', function( $tags ) {
$tags[ 'shortcodes' ] = true;
return $tags;
});
Code language: HTML, XML (xml)