Ready to get started?Download WordPress


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

  1. Punumbra
    Posted 12 months 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 12 months 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 7 months ago #

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

    Can you please provide another code?


  4. Hal Gatewood
    Plugin Author

    Posted 7 months 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 7 months 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 7 months ago #

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

    Thanks Hal ... !!!


You must log in to post.

About this Plugin

About this Topic


No tags yet.