WordPress.org

Forums

Testimonial Rotator
Issues with setting Timing on Rotator (2 posts)

  1. Bloodofeve
    Member
    Posted 2 years ago #

    Hi Hal,
    I have tried adding your

    function new_testimonial_rotator_timeout($speed) { return 20000; }
    add_filter('testimonial_rotator_widget_timeout', 'new_testimonial_rotator_timeout');

    To my website http//www.historicrydesociety.co.uk Function.php files
    I have developed my own theme using Artisteer
    When I added it to the wp function.php file it rendered this error

    Fatal error: Call to undefined function add_filter() in /homepages/39/d278883422/htdocs/.HRS_New2013/wp-includes/functions.php on line 3862

    So I tried the function.php file from my theme and got this error code

    Parse error: syntax error, unexpected '}' in /homepages/39/d278883422/htdocs/.HRS_New2013/wp-content/themes/HRS_NewVer4/functions.php on line 752

    I'm not sure if I should be ending the fix with a } or not I have no real knowledge of PHP coding.

    If you want to have a look at the back end of my site let me know I'm not sure why this is happening when the fix has worked for others using it.

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

  2. Hal Gatewood
    Member
    Plugin Author

    Posted 2 years ago #

    Can you put a .txt version of your functions.php from your theme somewhere for me to see?

    Just FYI, you shouldn't edit the function.php in wp-includes. Those are the WP core files and could get updated when you download new versions of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic