WordPress.org

Forums

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

  1. ParamasivanPN
    Member
    Posted 11 months 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"]'); ?>

Reply

You must log in to post.

About this Plugin

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

About this Topic

  • RSS feed for this topic
  • Started 11 months ago by ParamasivanPN
  • This topic is not resolved
  • WordPress version: 3.9.1