Support » Plugin: WP-Testimonials » [Plugin: WP-Testimonials] Fix for custom content directory

  • 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/

  • The topic ‘[Plugin: WP-Testimonials] Fix for custom content directory’ is closed to new replies.