• ResolvedPlugin Author Kim

    (@pixelovely)


    I occasionally get asked about how to make this plugin work with themes that came pre-packaged with a [testimonial] shortcode, that competes with the shortcode in this plugin.

    There are several solutions:

    1. Switch to a different theme (You probably don’t want to do this!)
    2. Un-install the simple testimonials plugin and use the built-in
      testimonials feature for the theme (if that feature actually does what you want it to)
    3. If you want to keep using both the theme and the plugin together, you’ll need to alter a little bit of code.
    • In the WordPress plugins folder, find the simple testimonials folder. Then open the file pixelovely_testimonial.php in your favorite PLAIN text editor (like notepad — avoid text editors that do formatting like the plague for this kind of work, such as Microsoft Office)
    • Search the file for this: add_shortcode(‘testimonial’,’create_pixelovely_testimonial_shortcode’);
    • Change it to: add_shortcode(‘simpletestimonial’,’create_pixelovely_testimonial_shortcode’);
    • Save the file and re-upload it to the plugin’s folder, overwriting the old version.
    • After this change, the short code will no longer be [testimonial number=0], it will be [simpletestimonial number=0]. This should prevent it from interacting with your theme’s built-in testimonials.
    • Be aware that if you ever update this plugin, you will need to repeat these steps. Luckily, it’s pretty simple and quick to do!

    Hope this helps someone out there!

    https://wordpress.org/plugins/simple-testimonials/

  • The topic ‘Trouble using this plugin with themes that already have a testimonial shortcode?’ is closed to new replies.