WordPress.org

Forums

HMS Testimonials
[resolved] rotating with javascript (6 posts)

  1. RPMC-Marco
    Member
    Posted 9 months ago #

    I just need some quick help, I am trying to use the JavaScript option such as this one:
    <script type="text/javascript" src="http://www.mysite.com/wp-content/plugins/hms-testimonials/js.php?group=4&template=9"></script>

    but I whant it to show 1 testimonial at a time and rotate, how would I go about doing this, and is there a way to set the speed?

    Thank you
    Marco

    https://wordpress.org/plugins/hms-testimonials/

  2. Jeff K
    Member
    Plugin Author

    Posted 9 months ago #

    Hey Marco,

    Are you using this outside of your WordPress site?

  3. RPMC-Marco
    Member
    Posted 9 months ago #

    no I am not, but the section I am trying to insert this doesnt allow shortcode

  4. Jeff K
    Member
    Plugin Author

    Posted 9 months ago #

    Try adding &rotating=true&seconds=15. Onto the URL. I don't remember if that will work but I can check tomorrow.

    You can also use. <?php echo do_shortcode('[the_shortcode_here]'); ?> in your theme.

  5. RPMC-Marco
    Member
    Posted 9 months ago #

    yea I tried the do_shortcode command but that does not work :(
    I did add that and it seems to do the trick thank you so much!

  6. Jeff K
    Member
    Plugin Author

    Posted 9 months ago #

    Sure thing.

Reply

You must log in to post.

About this Plugin

  • HMS Testimonials
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.