Doesn’t work when I try to use do_shortcode
-
Hi, I’m trying to make your plugin work with a value I get from Advanced Custom Field and implement it all in a template. But the plugin just refuses to work, rendering ‘–‘ instead. Here is my code. What do you think I should do?
Thank you<?php $myvalue = get_field( "number_1" ); $countstart = 0; $countduration = 3; echo do_shortcode('[countup start='.$countstart.' duration='.$countduration.']' .$myvalue. '[/countup]'); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Doesn’t work when I try to use do_shortcode’ is closed to new replies.