WordPress.org

Ready to get started?Download WordPress

Forums

GC Testimonials
Enable Shortcodes (3 posts)

  1. Kirbyworks
    Member
    Posted 1 year 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.

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

  2. hypnobliss
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic

Tags