WordPress.org

Ready to get started?Download WordPress

Forums

GC Testimonials
Feature request (3 posts)

  1. Bill
    Member
    Posted 4 months ago #

    I would love to use a slideshow shortcode in the testimonial content area so that visitors can see a short slideshow of the work that was done under the client's testimonial text... An image can be inserted as it is now, but if I try to use a shortcode for the Soliloquy slider to insert a slider, it does not work. It looks like shortcodes won't work in the content area of the testimonials. It would be awesome if other plugin shortcodes were able to be used in the content area.

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

  2. Chris Dillon
    Member
    Posted 4 months ago #

    Here's a hack to make it work. Find this function in testimonials.php around line 416:

    function gct_single_testimonial_shortcode( $atts ) {

    and change the next

    return $display;

    to

    return do_shortcode($display);

    This renders the shortcode in the content. That's just for the [single] shortcode; you'll have to do the same for [random] and [full] if you want the same effect there.

    More info at
    http://www.sitepoint.com/wordpress-nested-shortcodes/
    and
    http://stackoverflow.com/questions/4773186/shortcodes-inside-a-shortcode-wordpress

  3. tgd
    Member
    Posted 3 months ago #

    Looking forward to trying this.
    I've come across the same issue, but with native WP galleries.
    Thanks for the hack.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.