WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Punumbra
    Member
    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

    ~Matt

    http://wordpress.org/extend/plugins/testimonial-rotator/

  2. Hal Gatewood
    Member
    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
    Member
    Posted 7 months ago #

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

    Can you please provide another code?

    Thanks

  4. Hal Gatewood
    Member
    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
    Member
    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
    Member
    Posted 7 months ago #

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

    Thanks Hal ... !!!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.