WordPress.org

Ready to get started?Download WordPress

Forums

WP-Testimonials
Fix for custom content directory (1 post)

  1. Jason Judge
    Member
    Posted 3 years ago #

    If you use a custom content folder, e.g. "content" rather than "wp-content" then this plugin fails to display testimonials in its overview page. There is, however, a simple code fix.

    This line 119 in pages/testimonial_index.php:

    include(ABSPATH.'/wp-content/plugins/' . LTW_TES_FOLDER_NAME.'/pagination.class.php');

    should be replaced by this line:

    include(dirname(__FILE__). '/../../' . LTW_TES_FOLDER_NAME.'/pagination.class.php');

    http://wordpress.org/extend/plugins/wp-testimonials/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic