Passing php variable for the value
-
Hi,
The shortcode is like
[rprogress value=80]
In the place of value (80) I want to pass on a php variable.
How to do that?
Thanks,
https://www.ads-software.com/plugins/responsive-progress-bar/
Found the solution :-
<?php echo do_shortcode('[rprogress value="'.$likes.'" color="#cc0001" border_radius="7px"]'); ?>
- The topic ‘Passing php variable for the value’ is closed to new replies.