Inconsistent shortcode evaluation in template

[ad_1]

The following show inconsistent behavior related to shortcodes in templates. I have JCI set to execute shortcodes then twig, and line 3 outputs the the result of the shortcode like I expect, but line 2 returns the length of the shortcode itself

% set tmp = '[jsoncontentimporterpro nameoftemplate="trendData"]' %
trendData Length: length </br> # Returns 51, which is the exact length of the shortcode itself. should be closer to 500 #
tmp</br> # Correctly displays the output of the shortcode #
  • This topic was modified 13 minutes ago by nonbin.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer