WordPress.org

Forums

Responsive Progress Bar
Passing php variable for the value (1 post)

  1. ParamasivanPN
    Member
    Posted 1 year ago #

    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://wordpress.org/plugins/responsive-progress-bar/

    Found the solution :-

    <?php echo do_shortcode('[rprogress value="'.$likes.'" color="#cc0001" border_radius="7px"]'); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Responsive Progress Bar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic