How to check if do_shortcode will be execute directly in a template php file
I found a solution. First of all, the best way seems to not use do_shortcode direclty in the php. You can know more here. So… taxonomy-mytaxonomy.php <?php defined( ‘ABSPATH’ ) || exit; get_header( ); ?> <!– Content –> <div id=”content” class=”content” role=”main”> <?php the_archive_description( ‘<div class=”taxonomy-description”>’, ‘</div>’ ); if ( have_posts() ) { $queried_object = … Read more