‘[cfdb-json]’ shortcode use in my theme
-
Hi,
How to use ‘[cfdb-json]’ shortcode in my theme.
— functions.php write —
$json = do_shortcode(‘[cfdb-json form=”form name” trans=”CountInField(user,point)&&NaturalSortByField(point,DESC)” tfilter=”Submitted>=2016-12-01&&Submitted<2017-01-01″]’);
var_dump( $json );but, shortcode dose not working.
output: string “[cfdb-json form=”form name” trans=”CountInField(user,point)&&NaturalSortByField(point,DESC)” tfilter=”Submitted>=2016-12-01&&Submitted<2017-01-01″]”
Please help, thank you.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘‘[cfdb-json]’ shortcode use in my theme’ is closed to new replies.