Testimonial Rotator
[resolved] Place into PHP (6 posts)

  1. Punumbra
    Posted 3 years ago #

    Hey man, just curious as to how to put this into the PHP main area, i added function to use shortcodes in the main php files buttt it doesn't seem to rotate when i use the shortcode, so i was wondering what the php is to include it in a section of my website as all i can see are shortcodes

    Thank you for your time



  2. Hal Gatewood
    Plugin Author

    Posted 3 years ago #

    Try something like this, make sure to change the id 123 to the id of your rotator.

    <?php if(function_exists('testimonial_rotator')) { echo testimonial_rotator( array('id' => 123)); } ?>

    If it doesn't work add a link to your site where I can see what's going on.

  3. Ansy Haden
    Posted 2 years ago #

    Hey Hal Thanks for Plugin, but above code not working.

    Can you please provide another code?


  4. Hal Gatewood
    Plugin Author

    Posted 2 years ago #

    @Ansy Haden Are you getting anything? An error message? Do you have a link to where this is happening?

    Can you post exactly the PHP code you used?

  5. Ansy Haden
    Posted 2 years ago #

    Hi Hal,
    Thanks for your reply.
    I used this plugin in Raspberryketonecart.com just above the footer in USER TESTIMONIAL div and following php code that I have inserted in my page.

    <?php if(function_exists('testimonial_rotator')) { echo testimonial_rotator( array('id' => 'home-page')); } ?>

  6. Ansy Haden
    Posted 2 years ago #

    OMG .... I got it .. sorry I forget to select Testimonial Options from screen option .. now it working fine ..

    Thanks Hal ... !!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Testimonial Rotator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.