GC Testimonials
Enable Shortcodes (3 posts)

  1. Kirbyworks
    Posted 3 years ago #

    Apparently my theme doesn't support shortcodes. How to add that in?

    Either that or my text widget just isn't reading the testimonial form shortcode - what displays is the actual shortcode.

    It will display the upload form if I put in
    <?php echo do_shortcode('[testimonial-form]'); ?>
    in my front-page.php file.


  2. hypnobliss
    Posted 3 years ago #

    I have a related problem. I want to add the submission form to the sidebar but as @kirbyworks mentioned if you place it in a text widget it just displays the shortcode. Has anyone done this?

  3. Xavan
    Posted 3 years ago #

    Hey, guys! Awesomely enough, I found this on another plugin's FAQ:

    47. How to make a testimonials listing in a widget than a rotating testimonial?
    First, you'll need to enable shortcodes in widget by adding add_filter('widget_text', 'do_shortcode'); to the bottom of your themes functions.php file, before the closing ?>.

    Then for the testimonials listing in a widget, use a Text widget with a shortcode like [testimonialswidget_list limit=5].

    Source: http://wordpress.org/extend/plugins/testimonials-widget/faq/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • GC Testimonials
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic